Skip to main content
100%

Create a Bar Chart

✓ Published0🌍 Public
Aarcox80
Last edited Sep 23, 2017
Created on Sep 23, 2017

This bar chart displays the relative frequency of five Romance languages—Spanish, Portuguese, French, Italian, and Romanian—using data from a tab-separated values file. Blue bars render with SVG rectangles, while hover effects change their fill to a darker red. The chart uses d3.scaleBand for the categorical x-axis and d3.scaleLinear for the y-axis, which is formatted as percentages. Axes are generated with d3.axisBottom and d3.axisLeft, and the data is loaded asynchronously via d3.tsv.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/jbelmont/'>jbelmont</a>'s block: <a href='http://bl.ocks.org/jbelmont/2886fb042412ded3e40bf5cf168413b6'>Create a Bar Chart</a>

mit Licensed

Similar vizzes