Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Cars Scatter Plot for menu TEST

Public visualization

Viewing a saved revision (read-only)

21562625c60543e58e58d84347c8c21a

Fork of Cars Scatter Plot for menu TEST

0 stars1🌍 Public
Wweird_danger
Last edited Sep 8, 2024
Created on Sep 8, 2024
Forked from Cars Scatter Plot

This D3.js (v5) visualization renders the classic Iris flower dataset as a scatter plot, displaying sepal length against sepal width. A dropdown menu above the chart offers "Sepal" and "Petal" options, which currently only log selections to the console. The plot uses `d3.scaleLinear` for axes, which are rendered with `d3.axisLeft` and `d3.axisBottom`. Data is loaded from a local CSV file, and circles are appended directly to an SVG element, with the `d3.select` API managing the SVG and menu interactions.

AI-generated description