Animation

More about choosing a chart

Scatter plot maker

A scatter plot shows whether two things go together: hours studied and test scores, price and sales, area and population. Give each point a label, an X and a Y, and for a bubble chart a size. Add a least-squares trend line, put the names on the points and colour each one. Give the rows a Time, such as a year, and the same label at different times becomes one bubble that moves: press Play and watch them travel, the way Hans Rosling's famous charts did. Make scatter plots and bubble charts: a row per point with its X and Y, and for bubbles a size. Rows with the same label and a different Time are one point that moves: press Play with Over time to watch the bubbles travel from year to year.

How it works

  1. Type a row per point: a label, an X and a Y, a size for bubbles and, to animate, a time.
  2. Choose a scatter plot or a bubble chart; rename the X and Y columns to name the axes.
  3. Add a trend line, the names on the points or a colour per point.
  4. Press Play to grow the points, or Over time to move them from time to time; record or save it.

Reading a scatter plot

Each dot is one case, placed by two measurements. When the dots run from bottom left to top right, the two tend to rise together; from top left to bottom right, one falls as the other rises; a round cloud means no clear link. The trend line is the straight line that fits the dots best (least squares). It shows the direction, not the cause: two things can move together because a third thing drives both.

Bubbles that move

A bubble chart adds a third number as the size of each dot, its area proportional to the value. Add a Time column and list the same label once per year: Over time joins the rows of one label into one bubble and moves it smoothly from one year to the next, with the year shown large in the corner. Points without a time stay where they are.

Axes from your headers

The names of the X and Y columns are the titles of the axes, so rename them to say what is measured and in which unit. The axes fit the data with round numbers; in Over time they stay fixed for the whole animation, so movement on screen is real change.

Frequently asked questions

How do I make a scatter plot?

Give each point a row with a label, an X and a Y. The axes fit the numbers automatically, and the X and Y column names become the axis titles. Choose Trend line to add the line that fits the points best.

How is the trend line calculated?

It is the least-squares line: of all straight lines, the one with the smallest sum of squared vertical distances to the points. It shows the overall direction of the relationship, not that one thing causes the other.

How do I make the bubbles move?

Add a Time to each row (a year, for instance) and list each label once per time. With Over time, the rows of one label become one bubble that moves smoothly from time to time. The axes stay fixed during the animation.

What does the bubble size mean?

In a bubble chart the third number sets the bubble's area, so a value twice as big gives a bubble with twice the area, not twice the width. Scatter plots ignore the Size column.

Can I import my data?

Yes. Paste a table from a spreadsheet or import a CSV file. When the header row has columns named X and Y (and optionally Label, Size and Time), they are matched by name; otherwise the columns are read in that order.

Scatter plot maker: how do I record a video?

Press the red Record button in the playback bar: it films what the stage shows. Press it again to stop, and the video is saved to your device. Recording is free; you only need to sign in. Without a subscription the video carries a small PictorX logo in a corner. The button beside Record opens the video options: the shape (as shown, square, story 9:16 or wide 16:9), the length (until you stop, one seamless loop, or 5, 10, 15 or 30 seconds for social media) and the file: MP4, WebM or an animated GIF. You can add one of three music tracks: calm, bright or beat. With a fixed length or One loop the video is made frame by frame, so it runs smoothly even on a slow device, and One loop joins its end to its start without a seam.

Ready to try it?

Open PictorX in your browser — no install, no credit card required to start.

Go to Editor