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

Open in GitHub Codespaces PyPi npm Test code style black codecov Jupyter Book Badge Binder Lite Pyodide Console

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.0b5.tar.gz (42.4 kB view details)

Uploaded Source

Built Distribution

draco-2.0.0b5-py3-none-any.whl (53.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: draco-2.0.0b5.tar.gz
  • Upload date:
  • Size: 42.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/23.0.0

File hashes

Hashes for draco-2.0.0b5.tar.gz
Algorithm Hash digest
SHA256 4294b6dfdd4d0f82f3f583f3ecdc45660c08c83a740d190bd73e0e168f329b78
MD5 71f9b9fa380fc93d8b83c5f6a34734f1
BLAKE2b-256 9f54b535cc757613f2e587f3c15a8108fc8ba22fddab3675d2af4713fd1c9cf2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: draco-2.0.0b5-py3-none-any.whl
  • Upload date:
  • Size: 53.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/23.0.0

File hashes

Hashes for draco-2.0.0b5-py3-none-any.whl
Algorithm Hash digest
SHA256 80dad36ca2445e922ea67119525b2e32d301d807cff93384d0d4bbc94c5a78e9
MD5 b89f2e3e3484a3fbe0aa965cb7a37da7
BLAKE2b-256 2ac8037d57e4bea9d5c4d8cd4a955cc932a0f76ea266c01f76140b9f104a18b6

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