Viewing a saved revision (read-only)
329b33cbe4f94fda8c1fc2fe02aad730
Fork of Customizing Axes
This bar chart displays canopy coverage percentages across five sub-regions, with the title “Canopy Caverage by Sub-regions” and an x-axis labeled “coverage percentage.” The visualization uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render the SVG bar chart. Data is loaded from a local `data.csv` file using `csv()`, while axis ticks are formatted with `format` and customized by removing domain lines and appending labels. The chart’s styling, including tick sizes and title placement, comes from external CSS rules.
AI-generated descriptionThis bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.
See also the first bar chart visualization that this one builds on: Making a Bar Chart.