S18 - HW 3 - Bar Chart
This bar chart visualizes the frequency of letters in the English language using a TSV dataset. The visualization is rendered as two separate SVG bar charts (Bar Chart 1 and Bar Chart 2), each displaying the same data with letters on the x-axis and their corresponding frequencies on the y-axis. The charts use D3 v4 features including d3-dsv for parsing tab-separated values, d3-scale for position encodings (band scale for the x-axis and linear scale for the y-axis), d3-axis for axes, and d3-format for number formatting. Each chart applies conventional margins, uses a steelblue fill for the bars, and includes labeled axes with frequency values formatted as percentages. The two charts are structurally identical but are implemented in separate SVG elements to demonstrate the construction process.
AI-generated descriptionCS 725/825 - Spring 2018 - Homework 3 - Bar Chart
See the assignment instructions at http://www.cs.odu.edu/~mweigle/CS725-S18/HW3
Explanation of how the bar chart is constructed (for the most part) is available at https://bost.ocks.org/mike/bar/3/
Other helpful links (scale, domain, range):
Original README.md
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:
- 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>
forked from <a href='http://bl.ocks.org/weiglemc/'>weiglemc</a>'s block: <a href='http://bl.ocks.org/weiglemc/eda81fbb0af9c2de3ca5fccd3943b0e2'>S18 - HW 3 - Bar Chart</a>