Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-7 Resuable scatterplot

Public visualization

ICE-7 Resuable scatterplot

0 stars0🌍 Public
SShridhar Kshirsagar
Last edited Mar 24, 2023
Created on Mar 24, 2023

This reusable scatter plot visualizes the Iris dataset, mapping petal width against sepal length and encoding species with distinct D3 symbol shapes (circles, crosses, and diamonds). Built with the reusable chart pattern, the `scatterPlot()` function configures scales, axes, and symbol generators via chained accessor methods. The visualization renders as animated SVG, with axes created using `axisLeft` and `axisBottom`, while `scaleOrdinal` and `symbol` map categorical data to geometric marks. Data loads asynchronously via `d3.csv` and updates smoothly through D3’s data join.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed