Reusable ScatterPlot with Symbols & Axis Labels
✓ Published1🌍 Public
This reusable scatter plot visualizes the Iris dataset, mapping petal length against sepal width and encoding the flower variety with different D3 symbols. Built with React and rendered as SVG, the chart uses d3.scaleLinear for axes, d3.scaleOrdinal for symbol types, and d3.axisLeft/axisBottom for ticks. It displays labeled axes and highlights points in red on hover via CSS, with the main chart logic encapsulated in a configurable scatterPlot function.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed