Skip to main content
100%

Fork of Scatter Plot Daniel Chen

✓ Published0🌍 Public
DDonald Bagwell
Last edited Dec 10, 2023
Created on Dec 10, 2023
Forked from Scatter Plot

This interactive scatter plot visualizes the classic Iris dataset, plotting sepal and petal measurements against each other. The visualization uses D3 v7 to render animated SVG circles that transition to new positions when the user changes the X-axis or Y-axis variable via the dropdown menus. The code demonstrates modular ES6 imports, d3.scaleLinear for axis scaling, d3.scaleOrdinal for categorical coloring by species, and d3.axisLeft and axisBottom for creating labeled axes with grid lines.

AI-generated description

2023/9/22 daniel chen scatter plot with menus and colors An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes