RespVis: A D3 Extension for Responsive SVG Charts

Keith Andrews*, David Egger, Peter Oberrauner

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference paperpeer-review

Abstract

RespVis is an open-source JavaScript library which extends D3 to support the creation of responsive SVG charts. Each chart is a composite SVG document, whose elements can be positioned and styled with CSS. Chart authors can use CSS media queries and CSS Flexbox and Grid syntax to (re)position chart components such as title, legend, axes, and the chart itself in a responsive way. Example charts illustrate how to implement other responsive patterns using CSS and JavaScript, such as rotating labels, thinning out tick marks, or flipping a chart by 90°. RespVis is implemented in TypeScript as an extension of D3. It uses a novel custom layouter to enable the various SVG chart components to be positioned via CSS layout mechanisms, which are normally reserved for HTML elements.
Original languageEnglish
Title of host publicationProceedings - 2023 27th International Conference Information Visualisation, IV 2023
Pages19-22
Number of pages4
ISBN (Electronic)979-8-3503-4161-4
DOIs
Publication statusPublished - 25 Jul 2023
Event27th International Conference on Information Visualisation: IV 2023 - Tampere, Finland
Duration: 25 Jul 202328 Jul 2023

Publication series

NameProceedings of the International Conference on Information Visualisation
ISSN (Print)1093-9547

Conference

Conference27th International Conference on Information Visualisation
Country/TerritoryFinland
CityTampere
Period25/07/2328/07/23

Keywords

  • responsive, visualisation, chart, SVG, CSS, flexbox, grid, component, layout, pattern, D3, TypeScript.
  • CSS
  • SVG
  • pattern
  • D3
  • layout
  • TypeScript
  • component
  • grid
  • responsive
  • flexbox
  • chart
  • visualisation

ASJC Scopus subject areas

  • Software
  • Signal Processing
  • Computer Vision and Pattern Recognition

Fingerprint

Dive into the research topics of 'RespVis: A D3 Extension for Responsive SVG Charts'. Together they form a unique fingerprint.

Cite this