SwiftVizScale

0.8.0

Scale types usable for visualization, inspired by D3
swiftviz/Scale

What's New

0.8.0

2024-04-15T17:02:30Z

Concurrency Updates!

The API has changed due to adding Sendable conformances, and constraining some types to @MainActor in order to achieve strict concurrency support. I'm still working on adding full snippets support and expanding examples, but wanted to get the concurrency update out there, even without all the docs I'd hoped to have in place by now.

What's Changed

Full Changelog: 0.7.5...0.8.0

SwiftVizScale

codecov

@heckj

Scale and related types to support creating visualizations. Loosely based on the APIs and mechanisms created by Mike Bostock and contributors to D3.js

Build and test

git clone https://github.com/swiftviz/scale
cd scale
swift test -v

Generate documentation images for the included color scales

cd utils
swift run GenerateDocImages

then optionally move the files into the DocC resources directory:

mv *.png ../Sources/SwiftVizScale/Documentation.docc/Resources/

Description

  • Swift Tools 5.8.0
View More Packages from this Author

Dependencies

Last updated: Sun May 05 2024 06:54:46 GMT-0900 (Hawaii-Aleutian Daylight Time)