Skip to main content
100%

d3js workshop - bar chart

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

This example displays a horizontal bar chart of English Premier League standings, with each bar’s length representing a team’s total points and its color encoding the number of wins. The visualization uses d3.csv to load the league table, d3.scale.linear for both the x-axis width and the color gradient from blue to red, and SVG groups with appended rect and text elements. Bar heights are fixed, while the title element provides hover tooltips with team names.

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