Skip to main content
100%

Shapes and Colors with SVG and CSS

✓ Published0🌍 Public
OOsekovS
Last edited Aug 20, 2020
Created on Aug 15, 2020

This example shows world population growth from 1950 to 2015 using a smooth area chart, with the area filled in steelblue and an orange stroke. Built with D3 v5, the visualization employs `scaleTime`, `scaleLinear`, `d3.area` with `curveBasis`, and `axisBottom`/`axisLeft` for axes, all rendered as SVG. CSS styles the path and text, while data comes from a CSV file parsed with `d3.csv`.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes