Skip to main content
100%

Bar Chart

✓ Published0🌍 Public
RRoxIv
Last edited Jul 14, 2018
Created on Jul 14, 2018

A bar chart displays the frequency of each letter in the English language, using data parsed from a TSV file. The visualization encodes letters along the x-axis with an ordinal scale and frequencies on the y-axis with a linear scale, formatting tick labels as percentages. Built with D3.js, it loads data via `d3.tsv`, applies margins, and draws axes with `d3.svg.axis`. Purple bars animate their height upward over one second using a `transition` on the `y` and `height` attributes, while hovering changes their fill to brown.

AI-generated description

This simple bar chart is constructed from a TSV file storing the frequency of letters in the English language. The chart employs conventional margins and a number of D3 features:

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/3885304'>Bar Chart</a>

forked from <a href='http://bl.ocks.org/dunlapea/'>dunlapea</a>'s block: <a href='http://bl.ocks.org/dunlapea/0a4fc38df5249e1614a1'>Bar Chart</a>

forked from <a href='http://bl.ocks.org/dunlapea/'>dunlapea</a>'s block: <a href='http://bl.ocks.org/dunlapea/e98fade044ed55e5900d'>Bar Chart</a>

mit Licensed

Similar vizzes