Skip to main content
100%

task-8(tutorial-3.2)

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

This example visualizes the Iris dataset as a scatter plot with distinct shapes for species, mapping sepal length to the x-axis and petal length to the y-axis. It uses d3.scaleLinear for both axes and d3.scaleOrdinal with symbolsFill to assign shape marks to each species, while a custom shape legend displays the mapping. The visualization loads data via fetch from a GitHub repository, parses it with d3.csvParse, and renders axes using d3.axisLeft and d3.axisBottom. ES6 modules demonstrate code organization across files.

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