~/talk

Building Dynamic Dashboards With Django and D3

Talkat DjangoCon US 2016 · 2016-07-17..07-22· [data-visualization, django]
slides:none on file

Dashboard handles millions of 911 records with a Django backend serving compact JSON summaries via Django REST Framework, front end uses D3/nvd3 and ractive.js for reactive one‑way data flow, deep linking comes from django-url-filter translating URL hashes into queryset calls, and heavy lifting uses PostgreSQL percentiles and date truncation for quartiles and dynamic time precision. The open source app powers a live New Orleans demo, supports bookmarking of complex queries, and is used internally by a police department for analysis.

AI-written summary · about

  1. 0:00Intro
  2. 2:48The tools
  3. 5:50One endpoint per page
  4. 6:20Summary models
  5. 7:42Django ORM: custom functions
  6. 10:34Django ORM: custom aggregations
  7. 11:59django-url-filter
  8. 13:16Hack: call queryset methods
  9. 14:07Hack: build Alter from data structure
  10. 15:09API endpoints
  11. 18:50Simple Ractive component
  12. 19:11Ractive template
  13. 19:39Chart objects
  14. 21:02Monitoring for data changes
  15. 21:29The heatmap
  16. 22:23Lessons learned
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.