Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter plot practice

Public visualization

Scatter plot practice

0 stars0🌍 Public
GGbemiga Atolagbe
Last edited Dec 18, 2024
Created on Dec 4, 2024
Forked from HTML Starter

This example displays a small scatter plot of four data points, mapping position on the x-axis and age on the y-axis. The visualization uses D3.js to create an SVG, computing linear scales with `scaleLinear` and drawing axes with `axisLeft` and `axisBottom`. The circles are red, and the chart resizes to fit the browser window. The data is hardcoded in the script, and the plot is rendered as an interactive SVG within the page.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed