Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Streamlining Visualization Authoring in D3 Through User-Driven Templates (2207.06554v1)

Published 13 Jul 2022 in cs.HC

Abstract: D3 is arguably the most popular tool for implementing web based visualizations. Yet D3 has a steep learning curve that may hinder its adoption and continued use. To simplify the process of programming D3 visualizations, we must first understand the space of implementation practices that D3 users engage in. We present a qualitative analysis of 2500 D3 visualizations and their corresponding implementations. We find that 5 visualization types (Bar Charts, Geomaps, Line Charts, Scatterplots, and Force Directed Graphs) account for 80% of D3 visualizations found in our corpus. While implementation styles vary slightly across designs, the underlying code structure for all visualization types remains the same; presenting an opportunity for code reuse. Using our corpus of D3 examples, we synthesize reusable code templates for eight popular D3 visualization types and share them in our open source repository. Based on our results, we discuss design considerations for leveraging users' implementation patterns to reduce visualization design effort through design templates and auto-generated code recommendations.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (7)
  1. Hannah Bako (2 papers)
  2. Alisha Varma (2 papers)
  3. Anuoluwapo Faboro (2 papers)
  4. Mahreen Haider (2 papers)
  5. Favour Nerrise (6 papers)
  6. Bissaka Kenah (2 papers)
  7. Leilani Battle (29 papers)
Citations (8)