Skip to main content
Public

Share visualization

Loading preview…

Activity 6 task 3.2

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

Activity 6 task 3.2

1
NNithish Karanam
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

A scatter plot visualizes the Iris dataset, mapping sepal length to the x-axis and petal length to the y-axis while encoding species with different SVG shapes (circles, crosses, diamonds) via a legend. Data is loaded asynchronously from a CSV and parsed with `d3.csvParse`. The code uses D3 v7 scales (`scaleLinear`, `scaleOrdinal`), axes, and a custom legend module built with `d3.symbol` and join patterns to render marks.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed