Skip to main content
100%

Making a Scatter Plot

✓ Published0🌍 Public
CCHOI SEUNG HYUN
Last edited May 18, 2022
Created on May 18, 2022
Forked from Stylized Bar Chart

This example renders the Iris dataset as a scatter plot using React components and D3 scales. The visualization displays sepal width on the x-axis and sepal length on the y-axis, with each data point represented as a rectangle mark. The code constructs axes using D3’s `scaleBand` and `scaleLinear`, formats tick labels with `format`, and loads data via D3’s `csv` utility. SVG rendering is handled through React, with styling applied via CSS classes.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!

MIT Licensed

Similar vizzes