Skip to main content
100%

Data Visualization and Infographics with D3 :: Module 3 Exercise

✓ Published0🌍 Public
JJoaoGoncalves
Last edited Mar 31, 2015
Created on Mar 31, 2015

A horizontal bar chart displays the percentage of Portuguese companies with websites from 2003 to 2014, with bars labeled by year and the percentage value shown on each bar. The visualization uses D3.js version 3.5.5 to load CSV data via `d3.csv`, bind it to SVG `rect` and `text` elements, and scale bar widths proportionally to the data values. The SVG canvas and bar colors are styled through CSS, with hover effects on the rectangles. The data comes from the `websitesEuro18.csv` file, which contains annual percentages for multiple European countries, though only the Portugal column is visualized.

AI-generated description

Similar vizzes