Skip to main content
100%

item explorer - data source - example 2

✓ Published0🌍 Public
EEE2dev
Last edited Nov 16, 2015
Created on Oct 1, 2015

This example demonstrates how to embed data directly within an HTML file for use with the item explorer visualization, eliminating the need for a web server. The embedded dataset, formatted as comma-separated values, describes customer counts for combinations of four binary items. The visualization is rendered using the D3.js library (version 3.5.6) and the custom `itemExplorerChart()` function, which is initialized and then appended to the body via a chained `.call()` method. This approach is suitable for offline or static-file scenarios where external data files are unavailable.

AI-generated description

An example how to use item explorer with data embedded in the html file. The data is assumed to be in the required format. Note that data within html must not contain empty lines, leading spaces or tabs.

This approach can be used when no web server is available.

More examples

The main example is here.

Complete list of examples:

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

Similar vizzes