Plot Template v9.24.20 - Tooltip Test
✓ Published0🌍 Public
This scatter plot template visualizes the Iris dataset, encoding sepal length and width as x and y coordinates while coloring points by species. Built with D3.js v6, it uses `d3.scaleLinear` for both axes, `d3.scaleOrdinal` for categorical color mapping, and `d3.axisBottom`/`d3.axisLeft` for tick marks. The SVG rendering includes hover tooltips that display text at the cursor’s page coordinates, with animated transitions on mouseover and mouseout. Data loads asynchronously from a CSV via `d3.csv`.
AI-generated descriptionThis code is designed to be a scatter plot starter that can be easily modified for different D3.js applications.
MIT Licensed