SwiftVizScale

0.7.5

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

What's New

Incremental update

2022-09-28T00:25:46Z

What's Changed

The major additions are:

  • color interpolations and new scales to support interpolated colors, including facilities to interpolate within the LCH color space.
  • basic histogram and binning support
  • initial setup for Date oriented scales and relevant date "ticks" and logic for associated 'nice' values.

Full Changelog: 0.7.0...0.7.5

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.6.0
View More Packages from this Author

Dependencies

Last updated: Mon Apr 15 2024 14:16:15 GMT-0900 (Hawaii-Aleutian Daylight Time)