Skip to main content
100%

Activity6_Task_3.2

✓ Published0🌍 Public
Ppenumutchu.manobhiram@gmail.com
Last edited Apr 7, 2024
Created on Apr 7, 2024
Forked from Hello VizHub

This example demonstrates a scatter plot that visualizes the Iris dataset, mapping sepal length on the x-axis and petal length on the y-axis while using different symbol shapes to distinguish species. The visualization is built with D3 v7, importing specific functions like `scaleLinear`, `scaleOrdinal`, `symbol`, and `axisLeft` from the d3 module. Data loads asynchronously from a CSV file hosted on GitHub, is parsed with `csvParse`, and rendered as SVG paths. A custom legend module shows the shape-to-species mapping, with axes and labels added programmatically.

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