Skip to main content
100%

Scatter Chart Example

✓ Published0🌍 Public
Aachyutanandmishra17@gmail.com
Last edited Mar 23, 2023
Created on Mar 23, 2023
Forked from HTML Starter

This example visualizes Netflix data, plotting happiness scores against life expectancy in a scatter chart. Each point represents a country, with a title “World Happiness vs Life Expentancy” displayed above the chart. The code uses React 17.0.2 to manage the DOM and d3.v6 functions like `csv`, `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to load and scale the data, render axes, and position circles with a radius of 10. Margins and ticks are configured to make the chart readable.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes