3D charts

Search documents
WWDC25: Explore 3D Swift Charts
Apple Developer· 2025-06-12 23:00
Chart3D takes familiar concepts from 2D charts, such as scatter plots, and brings them into full 3D. To use a 3D chart, I'll change Chart to Chart3D. PointMark works great in Chart3D, and it now takes a Z value.Here, I use the Beak Length. I'll set the Z-axis label to "Beak Length" as well. That's it.With a few lines of code and Chart3D, I can immediately see the differences between the penguin species in a fun and interactive way. I can use simple gestures to rotate the chart to precise angles and see thre ...