youtube image
From YouTube: Using dynamic SVG images with Viva ACEs for business charts

Description

In this 10-minute developer focused demo, Patrick Rodgers shares a technique for generating/adding dynamic SVGs (interactive images) to Adaptive Card Extensions in a way that fits into the Adaptive Card mind-set (small, dynamic, performant). Run through the code for adding a simple mathematically derived geometric graphic to a CardView and a more complex bar chart sample (image graphic bound to data) in a QuickView card. Follow this approach to create your own SVG generation functions. This PnP Community demo is taken from the weekly Microsoft 365 Platform Community call recorded on December 13, 2022.

Demo Presenter
• Patrick Rodgers (Microsoft) | @mediocrebowler

Supporting materials
• Sample - ace-chart | https://github.com/pnp/spfx-reference-scenarios/tree/main/samples/ace-chart
• Article - What Is an SVG File? SVG Image and Tags Explained | https://www.freecodecamp.org/news/svg-basics-what-are-scalable-vector-graphics-and-how-do-you-use-them
• Article - Everything You Need To Know About SVG | https://css-tricks.com/lodge/svg/

Learn more
• Microsoft 365 Unified Sample gallery - https://aka.ms/m365/samples
• Microsoft 365 Platform Community in YouTube - https://aka.ms/m365/videos
• Microsoft 365 Platform Community - http://aka.ms/m365/community