Scatter plot
✓ Published0🌍 Public
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 descriptionReact Starter code.
MIT Licensed