Skip to main content
100%

bar viz for testing

✓ Published0🌍 Public
Mmomopng
Last edited Mar 6, 2022
Created on Mar 6, 2022
Forked from dataset

This example visualizes death rates by year using a horizontal bar chart, with each bar’s length encoding the death count and the y-axis listing years. The chart is rendered as SVG using D3.js v5, primarily leveraging `d3.csv` to load data, `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisBottom`/`axisLeft` for tick generation. Data is sourced from a CSV file, and death values are multiplied by 1,000 before plotting. Styling is applied via CSS, setting bars to steelblue and customizing axis text.

AI-generated description
MIT Licensed

Similar vizzes