Skip to main content
100%

Digital Firm - Wiki

✓ Published2🌍 Public
Lloicvdk
Last edited Dec 22, 2020
Created on Dec 3, 2020
Forked from HTML Starter

This example shows a horizontal bar chart ranking the six most populous countries by population, with animated bars that expand in width over one second. The visualization uses React and D3 v5, employing `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to construct the axes. Bars are rendered as SVG rectangles with a flip transform, while transitions animate their growth. Population values are formatted using D3’s `format` with a custom tick formatter that replaces gigabyte suffixes with billions. The chart also includes axis labels, gridlines, and a title, with styling applied via CSS.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes