Scatter Plot with Color
✓ Published1🌍 Public
This example visualizes the Iris dataset, encoding petal length on the x-axis and sepal width on the y-axis. Each flower is a circle colored by its species using a categorical color scale. The visualization is built with React and D3 v5, using `scaleLinear` for axes, `scaleOrdinal` for colors, and `format` for tick labels. SVG primitives render the chart, while the data is loaded asynchronously via the `csv` utility.
AI-generated descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render a scatter plot of the iris dataset.
MIT Licensed