Skip to main content
100%

Datasaurus Dozen D3 Scatter Plot

✓ Published0🌍 Public
KKamalabot
Last edited Jul 11, 2022
Created on Jul 11, 2022

The Datasaurus Dozen D3 Scatter Plot cycles through 12 datasets with nearly identical summary statistics but dramatically different shapes, demonstrating the importance of visualizing data. Each dataset appears for three seconds, with circles transitioning smoothly to new positions via `transition()` and `selection.join()`. The plot title and axes update dynamically using D3 scales (`scaleLinear`), axes (`axisBottom`, `axisLeft`), and SVG rendering. Data comes from the TidyTuesday repository, originally from Alberto Cairo, courtesy of Steph Locke and Lucy McGowan.

AI-generated description

The data comes from Alberto Cairo courtesy of Steph Locke + Lucy McGowan.

Taken from the #TidyTuesday github repo here.

This represents 12 different datasets with almost identical summary statistics but wildly different underlying distributions.

Moral of the story: Always plot your data!

Question: Can I make the plot title first go up and then come down? line 123 of scatterPlot.js

MIT Licensed

Similar vizzes