Skip to main content
100%

item explorer - data format - example 3

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

This example demonstrates how to display item explorer charts with abbreviated item names and full descriptive long names shown in tooltips, using a CSV data file with 18 items and five customer segments. The visualization uses the itemExplorerChart function from the EE2dev item explorer library, which relies on D3.js v3.5.6. Data is loaded from the external file items_5l.csv, where each column header combines a short name, a long name prefixed with "LN=", and the chart is rendered by calling the chart function inside a d3.select("body").append("div") chain. The code specifically uses the d3.csv-like loading and the .call() method to bind the chart to a div, with no additional JavaScript libraries beyond D3.

AI-generated description

An example of the required format for item explorer. Long names can be used to describe items and are shown in the tooltip. Regular item names should not consist of more than 5 letters to allow for a visual appealing label of the x axis. If this means that the item is abbreviated then the long name of the item can be used to reveal the full name.

More examples

The main example is here.

Complete list of examples:

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

Similar vizzes