Skip to main content
100%

Chart Explorer

✓ Published0🌍 Public
PPatMartin
Last edited Feb 25, 2017
Created on Feb 25, 2017

Chart Explorer is a drag-and-drop dashboard that lets users assemble a custom visualization workspace from available data series and chart types. It shows how the same underlying data can be explored through multiple coordinated views. Users drag two or more series onto a target area and can reorder them, while charts are added, resized, and rearranged on a gridster.js canvas. The application uses dragula for series and chart manipulation, and Gridster.js for grid-based layout. Charts are dynamically loaded from a JSON specification, including examples built with C3.js and D3.js, such as a linked parallel coordinates and chord diagram combination.

AI-generated description

Chart Explorer

This is a simple dashboard which allows the user to drag and drop series and charts onto the palette and visualize the data in a number of different ways.

  • Drag 2 or more series onto the series drag target at the very top.
  • Drag charts onto the chart drag target.

Series can be reordered via drag and drop. To remove a selected series, simply drag it to somewhere outside of the series drag area.

Charts may also be ordered, reordered, resized, added and deleted.

I am working through a number of minor bugs, but its good enough to demo.

Also noteworthy, charts are plugged in via json specifications and defined in an external json file called charts.json.

Credits

I'd like to give a shout out to a couple of authors who have made some excellent drag and drop plugins.

  • Nicolas Bevacqua - Author of Dragula. If you are in need of an intuitive drag and drop implementation, this one is awesome!
  • David S Morse - Author/maintainer of gridster.js which is a super slick drag and drop grid implementation. Dragula and Gridster work together to make this demo possible.

References

mit Licensed

Similar vizzes

Loading thumbnail…

Sequence explorer - single chart (with JSON file)

This example demonstrates a single-chart sequence explorer visualization built with D3 v4, loaded from an external JSON file. The chart visualizes sequential event flows, with events ordered along the y-axis using the `eventOrder` method (home, product, search, account, other) and the x-axis labeled as "visit" via the `sequenceName` setting. The JSON data defines a directed graph of transitions between events, with values representing the volume of each step. The visualization is instantiated by calling `sequenceExplorer.chart("sequence1.json")` and rendered into a div in the body. This approach highlights the sequence explorer's ability to depict multi-step event pathways, similar to a sunburst but in a linear, flow-based layout, making it easy to compare pros and cons against alternative visualization methods for the same dataset. The data is derived from Kerry Rodden's sunburst example, and the chart is configured to reorder event categories on the y-axis and customize tooltip labels. The single chart version keeps all event sequences in one view, useful for tracking navigation flows or funnel analysis.This example demonstrates how to create a **single-chart sequence explorer** using D3 v4 and data loaded from an external JSON file. The chart visualizes sequential categorical data—here, sequences of website events such as "home", "product", "search", and "account"—as a Sankey-style flow diagram. Each row represents a step in the sequence, and the width of the links corresponds to the number of visits, making it easy to identify common paths and drop-off points. The code shows how to initialize the chart with a JSON file, customize the event order on the y-axis, and rename the x-axis for tooltips. The data is derived from Kerry Rodden’s sunburst example, allowing for a direct comparison between the two visualization approaches for the same dataset.

EEE2dev
67% match