Skip to main content
100%

Shapes and Colors with SVG and CSS

✓ Published1🌍 Public
OOsekovS
Last edited Aug 19, 2020
Created on Aug 13, 2020

This example demonstrates an interactive scatter plot where users can dynamically select which data columns to display on the x- and y-axes using dropdown menus. It visualizes relationships between numeric attributes like horsepower, weight, and acceleration. The visualization uses D3 v5 with SVG rendering, employing `d3.scaleLinear`, `d3.axisBottom`, and `d3.axisLeft` for scales and axes. Circles transition smoothly to new positions over one second using chained `transition` and `delay` methods when axes change, with data loaded from a CSV file containing automotive specifications.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes