Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

assignment2 vikram

Public visualization

Viewing a saved revision (read-only)

175d76f167d44230b8e3b9a9db4ac2ef

assignment2 vikram

0 stars0🌍 Public
Vvikramkotlo9@gmail.com
Last edited Apr 6, 2024
Created on Apr 6, 2024
Forked from Hello VizHub

This scatter plot visualizes the relationship between sepal width and sepal length from an Iris dataset loaded via `d3.csv`. The SVG rendering uses `d3.scaleLinear` for both axes, `d3.axisBottom` and `d3.axisLeft` for tick marks, and appends circle elements for each data point. The reusable `ScatterPlot` function takes a container selector and data array, setting up a fixed 600×400 pixel chart with margins and axis labels. Points are colored steelblue with a radius of 3 pixels.

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.