~/talk

D3.js – From Zero to Data Viz Hero

Talkat FITC Web Unleashed 2014 · 2014-09-17..09-18· [data-visualization, javascript]
slides:none on file

Builds a pie into a donut using d3.arc and angle layout via d3.pie, loads a CSV of Toronto parking‑ticket weekdays with d3.csv, and adds center tooltips that show counts and recalculated percentages. Legend rectangles toggle an enabled flag, animations use an underscore current stored per-path with D3.interpolate for smooth transitions (750ms), and the code prevents removing the last slice so the chart always shows at least one segment.

AI-written summary · about

  1. 0:00Intro
  2. 1:37But don't panic
  3. 2:10A Basic Pie Chart
  4. 10:12A Basic Donut Chart
  5. 11:26Adding a Legend
  6. 19:22Loading External Data
  7. 19:58Toronto Parking Ticket Data
  8. 24:47And that's it.
  9. 25:04Adding Tooltips
  10. 25:30We'll harness mouse events
  11. 26:21Some tooltip styles
  12. 26:57Create the tooltip
  13. 31:19Animation is hard
~/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.