Skip to main content
100%

Fork of Blank Slate with Hot Reloading

✓ Published0🌍 Public
Hhuizhi.bt12@nycu.edu.tw
Last edited Sep 11, 2024
Created on Sep 11, 2024

This example visualizes the classic Iris dataset as a scatter plot, showing petal length against sepal length. Points are colored by iris species according to a categorical scale, with a bespoke color legend positioned in the lower-right corner. The implementation uses D3.js APIs including `scaleLinear`, `scaleOrdinal`, `schemeCategory10`, and `selection.join` to build the chart and its axes declaratively. The code reads CSV data directly and constructs the visualization with the `scatterPlot` module.

AI-generated description

A scatter plot of the Iris Dataset with a color legend.

See also:

MIT Licensed

Similar vizzes