Skip to main content
100%

d3js workshop - bar chart

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

A horizontal bar chart displays Premier League football teams' total points, with each bar's length proportional to the team's PTS value and an overlaid text label showing the exact number. Built with D3.js v3, the chart reads team statistics from a CSV file and renders as SVG rectangles, using a linear scale (d3.scale.linear) mapped to the bar widths and groups positioned vertically via translation transforms. The example demonstrates basic data loading, scaling, and SVG shape creation for workshop purposes.

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