BookmarkSubscribeRSS Feed

Bar chart race comparing total CO2 emissions in SAS Visual Analytics

Started ‎02-17-2020 by
Modified ‎02-18-2020 by
Views 1,751

Watch this bar chart race comparing total CO2 emissions and the global impact in carbon footprint by country. It shows the changes in the ranking of the world's countries between 1948 and 2014 by total CO2 emissions from fossil-fuel burning, cement production, and gas flaring. 

 

 

Total emissions are expressed in thousand metric tons of carbon (not CO2). This visualization was created using SAS Viya and SAS Visual Analytics.

 

Enjoy!

Comments

Really nice visualization, a tutorial on that would be greatly appreciated 🙂

//Fredrik

;-). This one is a little harder to recreate. I have used the auto data refresh option ('playback') in VA 8.5 view mode to achieve the sync'd update of all objects (e.g. the text object used for the year counter and bar chart). Not as practical in real-life business reports but it was the simplest way to achieve this special kind of animation. An underlying calculated item based on the current time was used to filter the data by year. The mentioned auto-refresh then caused the filter to change - ultimately returning data for a different years during playback - simulating an animation effect. Country flags were are done using a geo map without map background and special display rules.

 

If you just have a single visualization, e.g. bar chart or geo map - then using the animation role based on a date/time variable is a much better way obviously.

 

Cheers, Falko

Thank you for sharing, I like it a lot 🙂 !!!

Could you share a code example?

Version history
Last update:
‎02-18-2020 09:33 AM
Updated by:
Contributors

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Article Tags