Skip to main content
Public

Share visualization

Loading preview…

Activity7 Task4

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Activity7 Task4

1
HHarshithaAmbilpur
Last edited Jul 9, 2023
Created on Jul 9, 2023
Forked from Hello VizHub

This example demonstrates a scatter plot of the Iris dataset, encoding sepal length on the x-axis, petal length on the y-axis, and species as categorical point shapes. The visualization loads data asynchronously from a CSV file and parses it with `d3.csvParse`. It uses `d3.scaleLinear` and `d3.scaleOrdinal` for scales, renders marks with the `d3.symbol` generator, and includes a custom shape legend built via a reusable ES6 module. Axes are drawn using `d3.axisLeft` and `d3.axisBottom` from a shared axes module.

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.

Comments

Sign in to join the discussion.

MIT Licensed