Skip to main content
100%

ICE 6 Bar Chart

✓ Published1🌍 Public
Ddivyageethanjali
Last edited Mar 9, 2022
Created on Mar 9, 2022
Forked from HTML Starter

This horizontal bar chart displays the 15 largest countries by area, using D3.js v5 to map country names to a band scale on the y-axis and area in square miles to a linear scale on the x-axis. The SVG rendering includes axis labels, a title, and gridlines, with data loaded from a CSV file via `d3.csv`. The code applies a custom tick formatter to abbreviate large numbers, and bars are styled with CSS.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes