Viewing a saved revision (read-only)
fe670d40f833415d96f343b9305c7b81
Obesity values vs Countries
A bar chart shows obesity rates for sixty countries, highlighting that the Cook Islands has the highest value and Burundi the lowest. The chart encodes country on the x-axis, sorted by descending rate, and the obesity value on the y-axis. It is built with the vega-lite-api, using `vl.markBar` and `vl.encode` with `fieldQ` and `fieldN`, and loads data from a CSV via d3’s `csv` function. The visualization is rendered as an SVG with a custom config and tooltip handler.
AI-generated descriptionA visualization for Global Obesity Rates 2014 using the vega-lite-api.
This viz trys to display the relation between obesity rates and the corresponding countries.
cook islands has the highest obesity rate, on the other hand, burundi has the lowest rate.