Vector field

Inspect positions, vector components and magnitudes.

Import
@neural-charts/web
Data
vector

Live demo

Container width

The chart fits its available space automatically. Choose a width to simulate a different container.

Animation
240ms
Explore the fieldNumeric zoom without changing components.-3-3-2-2-1-100112233-3-3-2-2-1-100112233XXY

Explore the field

Numeric zoom without changing components.

Original data
SeriesidxydxdyVisible
Flowfield-0-0-2-22-2Yes
Flowfield-0-1-0.7-22-0.7Yes
Flowfield-0-20.7-220.7Yes
Flowfield-0-32-222Yes
Flowfield-1-0-2-0.70.7-2Yes
Flowfield-1-1-0.7-0.70.7-0.7Yes
Flowfield-1-20.7-0.70.70.7Yes
Flowfield-1-32-0.70.72Yes
Flowfield-2-0-20.7-0.7-2Yes
Flowfield-2-1-0.70.7-0.7-0.7Yes
Flowfield-2-20.70.7-0.70.7Yes
Flowfield-2-320.7-0.72Yes
Flowfield-3-0-22-2-2Yes
Flowfield-3-1-0.72-2-0.7Yes
Flowfield-3-20.72-20.7Yes
Flowfield-3-322-22Yes

Tap a data point or explore it with the pointer or keyboard.

Configurator

Adjust the presentation and interaction of this example.

Chart elements and interaction
Chart toolbar
  1. Zoom and pan
  2. CSV
  3. PNG
  4. SVG

Interactive examples

Open a chart to explore its data, try its options and copy its code.

When to use it

Use vectors for a directional field. X/Y locate an observation; dx/dy describe its components in the same vector unit. Components use the chart’s Cartesian orientation, with axis reversal respected. Arrow angles remain independent of differing axis spans; they are not projected displacement endpoints.

Chart API · Vector field

Expand a property to learn when to use it, see its public type, and find examples where applicable.

Data

The property data.type for this family is vector.

Appearance

Customize presentation while keeping series and point identities stable.

Axes and grid

Data types and domains determine the scale. Use options.axes to change its presentation.

Legend

Tooltip

Customize the tooltip with code →

Interaction and state

Identify the selection and hidden series by ID.

Animation

Complete options and events reference

Explore the data

Select an observation with the pointer or enter the chart with Tab. Arrow keys navigate the data; Home and End move to the endpoints. Enter or Space selects, and Escape closes the detail.

The data table retains original values, including missing values and hidden series. A repeated label does not merge separate categories. Manual screen reader review remains pending.

Accessibility guide

Example data

Copy the current input object with its original identifiers and values.