July 6th, 2024

Replicating D3 Charts with Swift Charts

The GitHub repository showcases various D3 charts recreated with Swift Charts, such as Histogram, Area Chart, Bar Chart, and more. Each chart is accompanied by a visual demonstration image.

Read original articleLink Icon
Replicating D3 Charts with Swift Charts

The GitHub repository contains a collection of D3 charts recreated using Swift Charts. The visualizations available include a Histogram, Area Chart, Band Chart, Area Difference Chart, Diverging Chart, Horizontal Bar Chart, Bar Chart Transitions, Bee Swarm Chart, and Box Plot. Each chart is presented with an accompanying image demonstrating the visualization.

Related

Tachyonfx: A library for creating shader-like effects in terminal UIs

Tachyonfx: A library for creating shader-like effects in terminal UIs

The "tachyonfx" library on GitHub enables shader-like effects in terminal UIs with color transformations, animations, and complex combinations. For more information or assistance, reach out for support.

I've stopped using box plots (2021)

I've stopped using box plots (2021)

The author critiques box plots for being unintuitive and prone to misinterpretation, advocating for simpler alternatives like strip plots to effectively communicate distribution insights without confusing audiences.

A New Package for Making Charts in Emacs: Eplot

A New Package for Making Charts in Emacs: Eplot

A new package named eplot simplifies chart creation in Emacs, addressing limitations of existing tools. It emphasizes clear axes markings and offers interactive data manipulation, introducing efficient plot control through "headers." Despite being a work in progress, eplot is accessible on Microsoft Github for potential use, with plans for code enhancements.

Racket Plot Cookbook

Racket Plot Cookbook

The Racket Plot Cookbook on GitHub showcases various plot examples using the Racket Plot library, including graphs, violin plots, sine curves, logos, and more. It serves as a valuable resource for individuals interested in crafting plots with Racket. Access the cookbook for details.

SankeyMaster – Ultimate Sankey Diagram

SankeyMaster – Ultimate Sankey Diagram

SankeyMaster app on Apple Store creates Sankey charts for iOS, macOS, and visionOS. Features include easy data entry, drag-and-drop adjustment, rich colors, and privacy measures. Priced at $5.99, supports multiple languages.

Link Icon 5 comments
By @reverius42 - 5 months
Nice! The examples all look very close. Nice to have a repository of examples for how to re-create D3 charts in native apps.

Disclaimer: I worked on Swift Charts at Apple and I'm very excited to see it used!

By @jiehong - 5 months
Recently, a post about the limits of box plots went through HN. It praised violin plots as better alternatives[0]. Are those supported in Swift Charts?

[0]: https://en.m.wikipedia.org/wiki/Violin_plot

By @zebomon - 5 months
Thank you very much for this! They look great.
By @ukuina - 5 months
Can Swift Charts render on a browser?