Skip to main content
100%

Scatter plot

✓ Published0🌍 Public
AArchit Bhargava
Last edited Feb 14, 2024
Created on Feb 14, 2024

A scatter plot displays the relationship between sepal length and sepal width for iris flowers, with each circle representing a data point. The visualization uses React for component structure and D3.js scales, ticks, and formatting to map the CSV data to SVG circles. The chart includes labeled axes for both quantitative variables, with a custom tick format replacing 'G' with 'B' for billions. The code loads data from a remote CSV using d3.csv and renders all marks as fixed-radius circles within a 1060x500 SVG canvas.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes