Bar Chart Demo
✓ Published0🌍 Public
Aadamjanes
Last edited Apr 13, 2018
Created on Apr 8, 2018
This bar chart displays the frequency of letters in the English language using data from a TSV file. It employs D3 v4 APIs including d3.tsv for parsing, d3.scaleBand and d3.scaleLinear for positioning, d3.axisBottom and d3.axisLeft for axes, and d3.schemeCategory20 for coloring each bar. The chart applies conventional margins and renders as SVG, with the y-axis formatted as percentages and letter labels along the x-axis.
AI-generated descriptionThis 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:
- d3-dsv - parse tab-separated values
- d3-format - number formatting
- d3-scale - position encodings
- d3-array - data processing
- d3-axis - axes
forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/3885304'>Bar Chart</a>
gpl-3.0 Licensed