S18 - HW 3 - Bar Chart
CS 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):
- https://github.com/d3/d3-scale
- https://www.dashingd3js.com/d3js-scales
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:
forked from mbostock's block: Bar Chart
forked from weiglemc's block: S18 - HW 3 - Bar Chart
Bar Chart
What is the type of mark used in the bar chart?
- The type of mark used in the bar chart is line mark.
List the channels, the attribute they are mapped to, and the data type of that attribute.
- The vertical spatial position channel is mapped to the letter frequency. The letter frequency is a quantitative attribute.
- The horizontal spatial position channel is mapped to the letter. The letter is a categorical attribute.
After your changes, list the channels, the attribute they are mapped to, and the data type of that attribute.
- The vertical spatial position channel is mapped to the letter frequency. The letter frequency is a quantitative attribute.
- The horizontal spatial position channel is mapped to the letter attribute. The letter is a categorial attribute.
- The hue channel is mapped to the letter attribute. For each color, there is a different letter. The letter attribute is a categorical attribute.
After your changes, list the channels, the attribute they are mapped to, and the data type of that attribute.List all of the channels mapped to the frequency attribute.
- The vertical spatial position channel is mapped to the letter frequency. The letter frequency is a quantitative attribute.
- The horizontal spatial position channel is mapped to the letter attribute. The letter is a categorial attribute.
- The saturation channel is mapped to the letter frequency attribute. The higher the frequency, the darker the color. The lower the frequency, the ligther the color. The letter frequency attribute is a quantitative attribute.
References