Skip to main content
100%

Scatter Plot With Slider

✓ Published0🌍 Public
GGa1307988
Last edited Apr 19, 2020
Created on Apr 19, 2020

A scatter plot displays countries positioned by latitude and longitude, with each point colored orange and labeled via a tooltip on hover. A slider below the chart adjusts the upper limit of the x-axis, triggering a smooth 1000-millisecond transition that rescales the domain and repositions the circles. Built with React and D3 v4, the code uses d3.csv for data loading, d3.scaleLinear for axes, and d3.transition for animation. The data comes from a GitHub-hosted CSV file, and the visualization is rendered as SVG.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes