ICE - 7 Reusable Scatter Plot JM
✓ Published0🌍 Public
This scatter plot visualizes the Iris dataset, mapping sepal length on the x-axis and petal length on the y-axis. Points are colored by species using a custom ordinal scale with a range of three colors. The visualization demonstrates a reusable scatter plot component that loads data from a CSV file, parses it, and renders it using D3's `scaleLinear`, `scaleOrdinal`, and SVG circle marks. The code defines reusable axis and scatter plot functions, which the main visualization calls upon to render the chart.
AI-generated descriptionMIT Licensed