Converting Basic D3 Charts into Reusable Style Templates

09/17/2016
by   Jonathan Harper, et al.
0

We present a technique for converting a basic D3 chart into a reusable style template. Then, given a new data source we can apply the style template to generate a chart that depicts the new data, but in the style of the template. To construct the style template we first deconstruct the input D3 chart to recover its underlying structure: the data, the marks and the mappings that describe how the marks encode the data. We then rank the perceptual effectiveness of the deconstructed mappings. To apply the resulting style template to a new data source we first obtain importance ranks for each new data field. We then adjust the template mappings to depict the source data by matching the most important data fields to the most perceptually effective mappings. We show how the style templates can be applied to source data in the form of either a data table or another D3 chart. While our implementation focuses on generating templates for basic chart types (e.g. variants of bar charts, line charts, dot plots, scatterplots, etc.), these are the most commonly used chart types today. Users can easily find such basic D3 charts on the Web, turn them into templates, and immediately see how their own data would look in the visual style (e.g. colors, shapes, fonts, etc.) of the templates. We demonstrate the effectiveness of our approach by applying a diverse set of style templates to a variety of source datasets.

READ FULL TEXT

page 1

page 2

page 5

page 6

page 7

page 9

page 11

research
08/29/2016

Using k-nearest neighbors to construct cancelable minutiae templates

Fingerprint is widely used in a variety of applications. Security measur...
research
09/27/2022

Computing Melodic Templates in Oral Music Traditions

The term melodic template or skeleton refers to a basic melody which is ...
research
08/31/2022

LaserSVG: Responsive Laser-Cutter Templates

Laser cutters take vector data for the shapes they cut or engrave as inp...
research
07/31/2019

Towards Automated Infographic Design: Deep Learning-based Auto-Extraction of Extensible Timeline

Designers need to consider not only perceptual effectiveness but also vi...
research
11/17/2019

A Sketch-Based System for Human-Guided Constrained Object Manipulation

In this paper, we present an easy to use sketch-based interface to extra...
research
07/25/2018

A 36-Element Solution To Schneiders' Pyramid Hex-Meshing Problem And A Parity-Changing Template For Hex-Mesh Revision

In this paper, we present a solution that uses the least number of hexah...
research
01/03/2018

Seeded Ising Model and Statistical Natures of Human Iris Templates

We propose a variant of Ising model, called the Seeded Ising Model, to m...

Please sign up or login with your details

Forgot password? Click here to reset