Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Making a Bar Chart

0 stars0🌍 Public
Pparkypoo
Last edited Dec 9, 2020
Created on Dec 8, 2020
Forked from Making a Bar Chart

This bar chart displays the number of cats owned by each person, with names on the y-axis and the cat count on the x-axis. Each bar’s length corresponds to the numeric value from the CSV data. Built with D3 version 5, the visualization uses `d3.select`, `d3.csv`, `d3.scaleLinear`, and `d3.scaleBand` to map data to SVG rectangles, with `d3.axisLeft` and `d3.axisBottom` for labeled axes. The bars are styled via CSS with a steelblue fill and black stroke.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed