Skip to main content

Visualization recommendation using constraints

Project description

The Draco logo. A set of circles connected by lines depicting the draco star constellation.

Draco v2

PyPi Test code style black codecov Binder

Work in Progress

Draco is a formal framework for representing design knowledge about effective visualization design as a collection of constraints. You can use Draco to find effective visualization designs or validate existing ones. Draco's constraints are based on Answer Set Programming (ASP) and solved with the Clingo constraint solver. We also implemented a way to learn weights for the recommendation system directly from the results of graphical perception experiment. Draco v2 is a much improved version of the first iteration of Draco.

Documentation

Read about Draco in the online book at https://dig.cmu.edu/draco2/ or launch it in interactive mode using Binder. In the documentation, we just refer to Draco without a version.

What's different from Draco v1?

  • Draco v2 is completely written in Python. No more need to run both Python and Node. We still use ASP for the knowledge base.
  • Generalized and extended chart specification format. The new format is more extensible with custom properties.
  • Support for multiple views and view composition.
  • High test-coverage, documentation, and updated development tooling.

Contributing

We welcome any input, feedback, bug reports, and contributions. You can learn about setting up your development environment in CONTRIBUTING.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

draco-2.0.0b3.tar.gz (39.6 kB view details)

Uploaded Source

Built Distribution

draco-2.0.0b3-py3-none-any.whl (49.6 kB view details)

Uploaded Python 3

File details

Details for the file draco-2.0.0b3.tar.gz.

File metadata

  • Download URL: draco-2.0.0b3.tar.gz
  • Upload date:
  • Size: 39.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Darwin/22.4.0

File hashes

Hashes for draco-2.0.0b3.tar.gz
Algorithm Hash digest
SHA256 4ae52a8e6819981c5c6ce4f565861f3f4bc7111178af4975ae8fcf790af02cf3
MD5 960e9a77ae8d8e7d8ab21de43a4ab981
BLAKE2b-256 8ddc6979fc52c4b2088a80c72e3f85cbb807fe082ab7838124cc67b7429b4025

See more details on using hashes here.

File details

Details for the file draco-2.0.0b3-py3-none-any.whl.

File metadata

  • Download URL: draco-2.0.0b3-py3-none-any.whl
  • Upload date:
  • Size: 49.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Darwin/22.4.0

File hashes

Hashes for draco-2.0.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 bd33d73099d7ac6a9bf4f842a071772ae3ecd2f2f4d016c22d0f43ecea9c180a
MD5 d0c8c536fab9a615d43bfabdc34bd52c
BLAKE2b-256 3e7e8b1f56bf79061a5f107a77e308872f68f3196b8bc79646797e4da7cf1637

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page