Skip to main content

Declarative D3.js visualizations for Django — charts, maps, networks, with MQTT live updates

Project description

django-d3-bridge

Declarative D3.js visualizations for Django — charts, maps, networks, with MQTT live updates.

Quick Start

# settings.py
INSTALLED_APPS = [
    ...
    "d3_bridge",
]

# views.py
from d3_bridge import BarChart

def dashboard(request):
    chart = BarChart(
        data=Product.objects.values("name", "sales"),
        x="name", y="sales",
        title="Sales by Product",
    )
    return render(request, "dashboard.html", {"chart": chart})
{% load d3_bridge %}
{% d3_scripts %}

<div class="col-md-6">
    {% d3_render chart %}
</div>

License

MIT

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

django_d3_bridge-0.1.0.tar.gz (57.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_d3_bridge-0.1.0-py3-none-any.whl (52.2 kB view details)

Uploaded Python 3

File details

Details for the file django_d3_bridge-0.1.0.tar.gz.

File metadata

  • Download URL: django_d3_bridge-0.1.0.tar.gz
  • Upload date:
  • Size: 57.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for django_d3_bridge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5e64eb821aa1334b9d8c04362df0d489fa9a0434070e08cd5efb792f85f48b64
MD5 223794c036dc29ab572f255c90b7561d
BLAKE2b-256 79c64fbc091105968e6d21df8b5c0e279b4c83ca5af41c833738098ad99b6496

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_d3_bridge-0.1.0.tar.gz:

Publisher: publish.yml on Altius-Academy-SNC/django-d3-bridge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_d3_bridge-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_d3_bridge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a8c3fef2a5becd28026ad6ef0e2a23e705b9cfe747f1dcf89e454093f29f592
MD5 ee91365192285fe58ee180aebbc06c4c
BLAKE2b-256 28e0eaf2f21f00d01d73e3a138ed2d67acaed15e31212b9a164dac57af66cc48

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_d3_bridge-0.1.0-py3-none-any.whl:

Publisher: publish.yml on Altius-Academy-SNC/django-d3-bridge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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