🌍 Public
Scatter plot practice
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed
Comments
Sign in to join the discussion.