Skip to main content
100%

NYS Population

✓ Published0🌍 Public
Llupica.matthew@gmail.com
Last edited Jan 30, 2022
Created on Jan 29, 2022
Forked from Hello VizHub

This example displays population counts for New York State counties as a series of horizontal black bars, with each bar’s width proportional to the county’s population value. The visualization uses D3.js v7 to load CSV data from a GitHub repository, parse the population strings into integers, and bind that data to SVG rectangles. The code employs `d3.csv`, `d3.select`, `attrs`, and `enter().append('rect')` to render the chart, with a simple title added via `insert("h3", "svg")`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes