Skip to main content
100%

Shapes and Colors with SVG and CSS

✓ Published0🌍 Public
KKateryna
Last edited Sep 21, 2020
Created on Sep 19, 2020

A scatterplot of automobile data from the `cars.csv` dataset displays each car as a semi-transparent circle, with weight on the x-axis and horsepower on the y-axis. The visualization uses D3 v6 to load the CSV, create linear scales with `scaleLinear`, and append SVG circles. Grid lines are drawn via `axisBottom` and `axisLeft` with custom tick sizes, while CSS styles the circles in steelblue. A text label incorrectly reads "Months, count," and the axis title is placed at a fixed position.

AI-generated description
MIT Licensed

Similar vizzes