Skip to main content
100%

item explorer - data format - example 4

✓ Published0🌍 Public
EEE2dev
Last edited Nov 6, 2015
Created on Oct 12, 2015

This example demonstrates how the item explorer visualization assigns different dimensions to items, separating purchases by item type and by payment method. The data is loaded from the CSV file `items_5d.csv`, and each dimension produces its own chart with a distinct x-axis label. The code uses the D3.js library, specifically the `itemExplorerChart` function, to render the visualization, with the chart appended to the body via `d3.select`. The CSV format encodes dimensions using the `:DI=` suffix, as shown in the header. Sorting is applied per dimension, and the example highlights how multiple dimensions can be visualized simultaneously.

AI-generated description

An example of the required format for item explorer. This example shows how to use dimensions. Introducing different dimensions for the items typically means that each dimension is refering to something different. In this example dimensions distinguish between items (bought) and payment method. Using dimensions has two effects:

  • for each dimension the corresponding items are shown in a separate chart with the dimension label for the x axis
  • when sorting is applied each dimension is sorted separately

More examples

The main example is here.

Complete list of examples:

  1. Data formatting
  1. Including data
  1. Visualization options

Similar vizzes