SwiftVizScale

0.5.0

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

What's New

Initial Scale release

2022-03-31T18:51:38Z

The code in this release was previously included in SwiftViz. In order to re-order things so that SwiftViz is the overall collection, it was useful to move this code into it's own a repository and Swift module so that other packages under this organization (Chart) could use it and then later also be collected into the overall setup under SwiftViz.

Related issues have been migrated to this repository and doc links updated.

The release is functional, but the API structure is far from certain, with some additional scales and usage considerations I'd like to include before I get close to calling this a 1.0 release. (See #1, #2, #4, and #5 in particular).

The code within this package includes a Scale concept, implemented with Swift generics - as well as the algorithms for generating "nice" values for more convenient visualization results, and ticks for labeling a visual axis that might be associated with the scale.

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

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

Last updated: Thu Jun 30 2022 17:54:37 GMT-0500 (GMT-05:00)