Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable Scatter Plot

Public visualization

Viewing a saved revision (read-only)

8090bf1e8caa4a3d924689badb4db8fc

Reusable Scatter Plot

0 stars0🌍 Public
UUVarshaReddy
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from Hello VizHub

This reusable scatter plot visualizes the relationship between a person’s age and one of two scores, toggling between Score1 and Score2 every two seconds. It loads data from a local CSV file, using D3’s `scaleLinear`, `axisBottom`, `axisLeft`, and `csv` functions. The visualization is rendered as SVG circles with axes and labels, updating dynamically via a timer. It highlights the use of local ES6 modules and the D3 `select` API for chart construction.

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.