DV TASK-8(3.2)
✓ Published0🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed