item explorer - data source - example 1
This example demonstrates how to load and visualize a basic item-explorer chart by referencing an external CSV file. The visualization shows binary presence-absence patterns across four items for a large customer group, with each row representing a unique combination. The code uses the D3.js library (version 3.5.6) and the custom `itemExplorerChart` API, passing the filename `items_small.csv` directly to initialize the chart. After creating the chart instance, the `showChart` function appends a `div` element to the body and calls the chart, rendering the data-driven view. The CSV file supplies the raw data, making this a standard example of data inclusion via an external file reference.
AI-generated descriptionAn example how to use item explorer by including data with a reference to a csv file. The data is assumed to be in the required format.
This is the standard way of reading data.
More examples
Complete list of examples:
- Data formatting
- basic data structure
- basic data structure with added colors
- basic data structure with long names
- basic data structure with dimensions
- basic data structure with all column features
- Including data
- standard reference to csv file
- reference to data embedded in html file
- preprocessing csv file before passing it on
- preprocessing embedded data before passing it on
- Visualization options