Skip to content

Instantly share code, notes, and snippets.

View curran's full-sized avatar

Curran Kelleher curran

View GitHub Profile
@curran
curran / README.md
Last active August 29, 2015 14:17
Chiasm Bar Chart and Line Chart

A demo of the Chiasm visualization runtime engine.

Click on numbers and colors in the configuration editor for interactive widgets that let you configure the visualizations.

@curran
curran / README.md
Last active August 29, 2015 14:17
Chiasm Layout Example

A demo of the Chiasm visualization runtime engine. Demonstrates the nested box layout and basic setup.

Click on numbers and colors in the configuration editor for interactive widgets that let you configure the visualizations. Also, click and drag the X lines in the dummy visualizations to see the changes propagate to the configuration.

@curran
curran / README.md
Last active September 26, 2015 22:50
Live Temperature by City

This program makes a bar chart and line chart from data in the Data Canvas - Sense Your City API and makes use of the Chiasm visualization runtime engine.

The line chart shows the temperature for all cities with available data for the past 24 hours, while the bar chart shows the current temperature of each city. The data is up to date, and updates every 5 minutes. Colors code the lines to the city.

Hovering over the line chart causes the bar chart to display data for the selected slice of time only (using Crossfilter).

The gear icon lets you open the configuration editor. Click on numbers and colors in the configuration editor for interactive widgets that let you configure the visualizations. For example, you can edit the color scale used by both visualizations, or edit the title text.

Draws from

@curran
curran / README.md
Last active August 29, 2015 14:17
Data Canvas Part 7 - Scatter Lines

This program makes a scatter plot (with lines) and line chart from data in the Data Canvas - Sense Your City API and makes use of the Chiasm visualization runtime engine.

The line chart shows the temperature for all cities with available data. The program constantly fetches more data going back in time, in invervals of 24 hours with a resolution of 5 minutes.

Draws from

@curran
curran / README.md
Last active April 27, 2016 12:21
Data Canvas Part 8 - Zooming

This program makes a scatter plot (with lines) and line chart from data in the Data Canvas - Sense Your City API and makes use of the Chiasm visualization runtime engine.

The line chart shows the temperature for all cities with available data. The program constantly fetches more data going back in time, in invervals of 24 hours with a resolution of 10 minutes.

You can use the bottom line chart to zoom in with the top line chart. This approach is inspired by the D3 Focus+Context Via Brushing example. Brushing in the top line chart causes data for only the brushed region to be shown in the scatter plot. This allows you to focus on specific regions of time.

Draws from

@curran
curran / .block
Last active October 27, 2019 20:10
Color and Texture with textures.js
license: mit
@curran
curran / README.md
Last active January 28, 2021 19:21
Texture Scales

A test of textures.js that shows one approach for creating a "texture scale" that combines individual scales for pattern, size, and color.

See also this discussion on GitHub: riccardoscalco/textures#7

@curran
curran / README.md
Last active August 29, 2015 14:18
Chiasm Kitchen Sink

This is a "kitchen sink" demo of the Chiasm visualization runtime engine. It contains various configurations that are loaded at runtime, showing various Chiasm plugins and how they can be used.

Press any key to stop the automated configuration changes.

@curran
curran / README.md
Last active November 6, 2016 18:59
World City Explorer

This program allows you to explore the world's cities.

  • Zoom in and out with the scroll wheel.
  • Pan by dragging.
  • Hover over a city to get its name and population.

Each circle represents a city. Each filled in pixel of a circle represents 50,000 people. When city circles overlap, they appear brighter, so brightness can be interpreted as population density.

The data comes from Geonames and shows only cities with population >100,000.

@curran
curran / .block
Last active January 23, 2021 22:18
Horizontal Bar Chart
license: mit