Skip to main content
Public

Share visualization

Loading preview…

Vega-Lite API: NACRO Survey Data

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Vega-Lite API: NACRO Survey Data

0 stars7Public
CCurran Kelleher
Last edited Sep 16, 2019
Created on Sep 16, 2019

This visualization displays the distribution of survey responses by age, with bars colored by gender, using a bar chart. It is built with the Vega-Lite API, which registers Vega, Vega-Lite, and Vega-Tooltip to render the chart as SVG. The data is loaded asynchronously from a CSV file of NACRO member survey responses using d3.csv, and the chart dimensions adapt to the window size. A custom config object styles the axes and text with darker colors for readability.

AI-generated description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed