Skip to main content
100%

d3js workshop - animated bar charts

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

This interactive bar chart visualizes the English Premier League standings as of February 21, 2015, showing each team's points and win totals. The visualization uses a horizontal bar chart where bar lengths represent points, while bar colors encode win counts on a blue-to-red scale. Users can click either the bars or the circular markers above to toggle the displayed metric between points and wins, with smooth animated transitions updating the bar widths. The code uses D3 v3 with SVG rendering, employing linear scales, CSV data loading via `d3.csv`, and click-event handlers to drive the dynamic updates.

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/b65c971877b2950a3f38332eb8c24400'>08_workshop_animated horizontal bar chart</a>

mit Licensed

Similar vizzes