Skip to main content
100%

d3js workshop - bar chart

✓ Published0🌍 Public
Aaduo122
Last edited Oct 19, 2017
Created on Oct 19, 2017

A horizontal bar chart displays the English Premier League standings as of February 21, 2015, with each team’s points encoded as bar length and labeled directly on the bars. The SVG visualization uses d3.v3 with `d3.csv` to load the team data, `d3.scale.linear` to map points to pixel widths, and data-bound `<g>` groups containing `<rect>` and `<text>` elements. Each bar includes a `<title>` tooltip showing the team name. The chart is built with D3’s selection and enter/append pattern, using a fixed bar height and padding.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/mostaphaRoudsari/'>mostaphaRoudsari</a>'s block: <a href='http://bl.ocks.org/mostaphaRoudsari/26eda28ec7589c8f8ed0811f0b3924b8'>06_workshop_horizontal bar chart</a>

mit Licensed

Similar vizzes