Skip to main content
100%

Data Visualization: menus

✓ Published0🌍 Public
MMireia Parra
Last edited Jan 3, 2024
Created on Jan 3, 2024
Forked from Data Visualization

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

Similar vizzes