Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question 3

Public visualization

Viewing a saved revision (read-only)

0e05dd47b70c4d51bef61cb095689420

Question 3

0 stars0🌍 Public
Sshivasaikumart@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Question 3

This scatter plot displays the relationship between height and weight for a dataset of individuals, with each point colored by its category (A, B, or default orange). The visualization loads CSV data asynchronously using `d3.csv`, then maps height and weight values through `d3.scaleLinear` domains to screen coordinates. Circles are rendered as SVG elements with `d3.selectAll` and `.join`, while the axes are created using `d3.axisLeft` and `d3.axisBottom`. The chart fills the browser window, with green axis labels and a red title.

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.