Skip to main content
100%

Circles on a map

✓ Published0🌍 Public
Jjlongwellchc
Last edited Sep 19, 2019
Created on Sep 19, 2019

This interactive scatter plot visualizes the relationship between two selectable variables from the auto-mpg dataset, which includes measurements like miles per gallon, cylinders, and horsepower. Users choose the x and y axes through dropdown menus built with a reusable `dropdownMenu` component. The chart uses D3 v5’s `scaleLinear`, `axisBottom`, and `axisLeft` for scales and axes, while circles animate into position via `transition().duration(2000)`. Each point transitions from the center to its final coordinate, rendering as SVG with a semi-transparent orange fill.

AI-generated description
MIT Licensed

Similar vizzes