item explorer - data format - example 2
This example demonstrates how to color-code items in the item explorer visualization, using colors to group related items into categories. The chart loads data from a CSV file (`items_5c.csv`) and renders an interactive explorer where each item’s color indicates its category, such as blue for customers, orange for food items, and green for other products. The visualization uses the D3.js library (version 3.5.6) to create the chart, relying on the custom `itemExplorerChart` function from the itemExplorer library. Colors are specified directly in the CSV column headers using an RGB format, and the data is passed to the chart after being loaded from the file.
AI-generated descriptionAn example of the required format for item explorer. This example shows how to color code items. Color can be used to denote items belonging together.
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