Skip to main content
100%

Activity6_Task3.2

✓ Published0🌍 Public
SSaiKiranReddyKancharla@my.unt.edu
Last edited Apr 4, 2024
Created on Apr 4, 2024

This example demonstrates a scatter plot visualizing the Iris dataset, where sepal length is mapped to the x-axis and petal length to the y-axis. The chart uses D3 v7 APIs including `scaleLinear`, `scaleOrdinal`, `symbol` with `symbolsFill` to render distinct shapes for each iris species, with a custom shape legend. Data is loaded as CSV and parsed with `csvParse` from a remote gist. The implementation is modular, with separate functions for drawing axes, the scatter plot, and the legend.

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