Bar Chart
This bar chart displays the total number of reported cases for three countries—Guinea, Liberia, and Sierra Leone—with each bar’s height proportional to its frequency value. The visualization uses D3.js APIs including `d3.tsv` to load the data, `d3.scale.ordinal` for the x-axis, `d3.scale.linear` for the y-axis, and `d3.svg.axis` to render the axes. The chart is drawn as an SVG with pink bars that turn violet on hover, and the y-axis is labeled “Total Number of Cases.”
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.tsv - load and parse data
- d3.format - format percentages
- d3.scale.ordinal - x-position encoding
- d3.scale.linear - y-position encoding
- d3.max - compute domains
- d3.svg.axis - display 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/Smith5mr/'>Smith5mr</a>'s block: <a href='http://bl.ocks.org/Smith5mr/4082de18058c055efe84'>Bar Chart</a>