Skip to main content
100%

ICE - 7 Reusable Scatter Plot JM

✓ Published0🌍 Public
117761A04F1
Last edited Mar 12, 2023
Created on Mar 11, 2023

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 description
MIT Licensed

Similar vizzes