Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Shapes and Colors with SVG and CSS

Public visualization

Viewing a saved revision (read-only)

6e8313653e4e48388abcc8e4371e4522

Shapes and Colors with SVG and CSS

0 stars0🌍 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.