A Bar Chart
forked from mbostock's block: A Bar Chart
Make the following changes to this bar chart:
- Use the "states-zika.csv" file instead of "sample-data.csv".
- adjust margins as needed so that the entire bar chart is displayed properly.
- Make the bars green.
- Make all text black.
- Sort the bars alphabetically by state name in ascending order.
- After a 5 second delay, transition to sorting the bars in descending order according to their values.
- Create a tooltip for each bar that displays the number of characters in the name of the state over which you are hovering. For example, if I hover over Ohio, the tooltip will say "4". If I hover over Virginia, the tooltip will say "8".
forked from scresawn's block: A Bar Chart