Skip to main content
100%

Scatter Plot with Color Legend

✓ Published0🌍 Public
Aakhil kata
Last edited Jul 1, 2022
Created on Jun 29, 2022

This scatter plot visualizes the Iris dataset, mapping petal width and sepal length with points colored by species. A circular color legend identifies the three species categories. The visualization uses D3 v5 with the `d3.scaleLinear` for axes, `d3.scaleOrdinal` with `d3.schemeCategory10` for colors, and the `d3.legendColor` library for the legend. Grid lines extend across the chart via tick size settings, and axis labels are rotated for the y-axis. The data is loaded from a CSV file via `d3.csv`.

AI-generated description
MIT Licensed

Similar vizzes