Skip to main content
Public

Share visualization

Loading preview…

CSCE- 5320: ICE-6 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

CSCE- 5320: ICE-6 Scatter Plot

0
NNaveenParitala
Last edited Mar 8, 2022
Created on Mar 8, 2022

This example visualizes the classic Iris dataset as a scatter plot, mapping petal length on the x-axis against sepal length on the y-axis. The code uses D3 v6 to load the CSV data, then applies `scaleLinear` and `extent` to set the scales, and renders the points as SVG circles with axes generated by `axisLeft` and `axisBottom`. Labels for the axes are appended as text elements, and the chart fills the entire viewport with a full-screen SVG canvas.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed