Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Graph in D3

Public visualization

Bar Graph in D3

0 stars0🌍 Public
SSimon Hackbert
Last edited Oct 7, 2022
Created on Sep 17, 2022

This bar graph visualizes the maximum player counts for video games by year from 2004 to 2008, with each year represented as a horizontal bar. The visualization uses D3 v7’s `csv`, `scaleLinear`, and `scaleBand` APIs to load data from a GitHub-hosted CSV file and map values to SVG rectangles. The chart includes labeled axes, with years on the y-axis and player counts on the x-axis, and uses `axisLeft` and `axisBottom` for tick marks. The bars are styled with a steelblue fill via CSS.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed