Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

task 8-part 3

Public visualization

Viewing a saved revision (read-only)

3685c644e45f47f1967ab08024c38ded

task 8-part 3

0 stars0🌍 Public
Bbhavithamanyam@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024

This scatter plot visualizes iris flower measurements by plotting Student1 against Student2, with the Category of each flower encoded through different marker shapes. The visualization uses D3 v7's modular functions, including `scaleLinear` for the x and y axes, `scaleOrdinal` for shape encoding, and `symbol()` to generate the shape paths. A custom legend, built with `shapeLegend`, displays the shape-to-category mapping, while the `axes` module handles axis labeling and ticks. The data is loaded asynchronously from a CSV file hosted on GitHub, parsed with `csvParse`, and rendered as an SVG.

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.