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 statistics from a CSV file. Each bar’s length encodes the team’s total points, while its color encodes the team’s number of wins, using a blue-to-red linear scale. Built with the d3.v3 library, the visualization renders as SVG rectangles and text, using `d3.csv`, `d3.scale.linear`, and `d3.select` to generate the chart. Hovering over a bar reveals the team name via a `<title>` element.

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/2f743de93424ee968019390ff14ce598'>07_workshop_horizontal bar chart solved</a>

mit Licensed

Similar vizzes