Skip to main content
Public

Share visualization

Loading preview…

Most Obese Countries as of 2014

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Most Obese Countries as of 2014

0
Mmkt-ds
Last edited Sep 24, 2019
Created on Sep 24, 2019

A horizontal bar chart ranks the 80 countries with the highest obesity rates as of 2014, with each bar's length proportional to the national obesity percentage. The data is sorted in descending order before slicing, ensuring the top countries appear accurately at the top of the chart. Built with the vega-lite-api and rendered as SVG, the visualization uses d3.csv to load the dataset and d3.descending for sorting, while the tooltip and axis configurations come from the vega-tooltip handler and custom config.js settings.

AI-generated description

A visualization of countries with top Global Obesity Rates 2014 using the vega-lite-api.

This variant adds sorting the data before slicing, which makes the top list accurate.

Comments

Sign in to join the discussion.

MIT Licensed