Skip to content

swiftviz/Scale

Repository files navigation

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/