Data Visualization: menus
✓ Published0🌍 Public
This example shows a scatter plot of the Iris dataset, with points colored by species and axes labeled for petal width and sepal length. A dropdown menu container is positioned at the top left, though its interactive functionality is not yet implemented. The visualization uses D3.js version 6.7.0, with `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` for scales and axes, and renders as an SVG that adapts to the window dimensions. The code structure separates the reusable `scatterPlot` component from the main data-loading script, which fetches CSV data from a GitHub gist.
AI-generated descriptionMIT Licensed