Skip to main content
Public

Share visualization

Loading preview…

Fork of Task 8 Scatter plot

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

Fork of Task 8 Scatter plot

0
Ssamithareddy9@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024

This fork renders the IRIS dataset as a scatter plot, mapping petal length and width to the x and y axes while coloring each point by species (setosa, versicolor, and virginica). The SVG visualization uses d3.scaleLinear, d3.extent, axisLeft, and axisBottom to construct the chart, with circles colored via a switch statement. Data is loaded as CSV from a GitHub gist using d3.csv, and the plot fills the browser window with custom margins and rotated axis labels.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.

Comments

Sign in to join the discussion.

MIT Licensed