Skip to main content
100%

DV TASK-8(3.2)

✓ Published0🌍 Public
Nnagabinduk2023@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This visualization is a scatter plot of the Iris flower dataset, showing sepal length against petal length, with points colored by species. It demonstrates a clean, modular D3.js v7 approach using ES6 modules and the `d3.select` and `d3.join` APIs for efficient SVG rendering. The plot is drawn with `d3.scaleLinear` axes and `d3.scaleOrdinal` shape encoding, while a custom legend shows the species using `d3.symbol`. Data is loaded via a CSV file fetched from a remote repository, and coordinates and numeric fields are parsed with `d3.csvParse`. The example highlights reusable, declarative chart components built with the `d3` module.

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