Skip to main content
100%

Ejercicio 6

✓ Published0🌍 Public
JJuanma-GP
Last edited Jul 14, 2018
Created on Jul 14, 2018

This example displays a bar chart of Spanish parliamentary seat counts from the June GAD3 barometer, comparing four parties. It shows both an SVG version with styled rectangles and text labels, and an HTML/CSS version using divs with background colors and widths. The code loads CSV data with d3.csv, binds it to existing SVG elements, and uses D3 v5 methods like `.attr()` and `.text()` to set bar dimensions, colors, and party names. The visible source data includes party names, seat counts, and color codes.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/DondeDijeDigo/'>DondeDijeDigo</a>'s block: <a href='http://bl.ocks.org/DondeDijeDigo/b1a62d0c4c5afc4046c1188d07f1f745'>Ejercicio 6</a>

mit Licensed

Similar vizzes