Skip to main content
100%

Fork of Scatter Plot with Shape

✓ Published0🌍 Public
VVenkat-Sumith-Thota
Last edited Jul 9, 2023
Created on Jul 9, 2023
Forked from Hello VizHub

This scatter plot displays iris flower measurements with sepal length on the x-axis and petal length on the y-axis, using d3.scaleLinear for position scales and d3.scaleOrdinal with d3.symbolsFill to map species to distinct shapes. A custom shapeLegend module renders the species key, while d3.axisLeft and d3.axisBottom generate the axes with labels. The visualization loads CSV data via fetch and d3.csvParse, and both local ES6 modules (axes, scatterPlot, shapeLegend) and D3 v7 imports demonstrate modular code organization.

AI-generated description

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