Skip to main content
100%

task_3.2 supriya

✓ Published1🌍 Public
SSupriya Ravilla
Last edited Apr 8, 2024
Created on Apr 8, 2024
Forked from Hello VizHub

This example shows an interactive scatter plot of the Iris dataset, displaying sepal length against petal length. Each point is colored by species, and the plot includes a custom shape legend that maps each species to a distinct symbol using d3.scaleOrdinal and d3.symbolsFill. The visualization loads data from a remote CSV file using d3.csvParse and renders axes with d3.axisLeft and d3.axisBottom. D3 v7 selection methods like join and attr are used to update the SVG elements dynamically.

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