Skip to main content
100%

Plot

✓ Published0🌍 Public
Aaaizemberg
Last edited Jan 20, 2022
Created on Oct 4, 2021

This example shows a horizontal bar chart of population counts per province, with province names on the vertical axis and population values extending horizontally. The visualization uses Observable Plot’s `Plot.plot` method with a `barX` mark, mapping the `provincia` field to the y-axis and `poblacion` to the x-axis. Data is loaded as TSV from a remote URL using `d3.tsv` with `d3.autoType`, and the resulting chart is appended to a `div` element. A left margin of 250 pixels accommodates the province labels.

AI-generated description

Similar vizzes