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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for draco-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d88be363eefa820744789283fc7c36fd5d4c83209cbc108044b37c14299a525f
MD5 afebb8c481453dee171896d39f47b311
BLAKE2b-256 dee4c3736d925d5b7c624fb25252634482ef48900bcb8ae61b565cd2e22253ec

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for draco-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 19414fdd22288e636bb1f1a349ef3fd4fe1c346e0a366b4e8a2d990edf311b34
MD5 832d8675436bc39b156e35108307c500
BLAKE2b-256 af5962b716394522764ccebce538ee51a572eca4c9a0690f8f59fbfac7bdc309

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