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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: draco-2.0.0b4.tar.gz
  • Upload date:
  • Size: 42.3 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.0b4.tar.gz
Algorithm Hash digest
SHA256 f3cccbd8dfb240560e2aba1446f2b29914c014bb1171443eee834a4af48a9895
MD5 3371118582bb07396f499fd3137dde54
BLAKE2b-256 9ebea84ccb5aa63b2941d4fa29eb9152549158c243cc0643ec3527d8c9ce9897

See more details on using hashes here.

File details

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

File metadata

  • Download URL: draco-2.0.0b4-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.0b4-py3-none-any.whl
Algorithm Hash digest
SHA256 6bd623a8780ee3ae40573bf2c82aef1b2faa1f58d1dad0582a2e6d13a4e32c2f
MD5 fd52067fb76c71d7b5a542bd347318b9
BLAKE2b-256 5b5cd7698db518b31fbb45a0f45952f04636a6ee2244a579398626ef2781b528

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