Skip to main content
100%

ICE-7 DV Reusable Scatter Plot for Iris Data

✓ Published0🌍 Public
MMounikadontireddy
Last edited Mar 25, 2023
Created on Mar 25, 2023

This reusable scatter plot displays the Iris dataset, mapping petal width against sepal length and encoding species with distinct D3 symbol shapes. The visualization is rendered as an SVG using a custom `scatterPlot` factory function, which leverages `scaleLinear`, `scaleOrdinal`, `axisLeft`, and `axisBottom` from D3. Data is loaded asynchronously via `d3.csv` from a GitHub Gist, with numeric columns parsed on ingestion. The chart dynamically fills the browser window, showing all three Iris species with symbols differentiated by the `symbolValue` accessor.

AI-generated description

.

MIT Licensed

Similar vizzes