Panel: Map Data

The Map Data panel imports the csv data from the Panel: CSV File. It will create several collections with chart objects.

../_images/csv_charts_panel_mapdata_a.jpg

The Map Data Panel with no data mapped.

Panel Components

Button: Map Data

../_images/csv_charts_panel_mapdata_c.jpg

The Map Data Panel selected field.

The Map Data button creates several collections with chart objects. It also creates the necessary node groups and materials.

Button: Update Data

../_images/csv_charts_panel_mapdata_d.jpg

The Map Data Panel with data mapped.

Update values from a second csv file. See Preparing multiple CSV files for animation.

Button: Clear All

This will clear all created collections, objects, and imported node groups.

Created objects in outliner

../_images/csv_outliner_created_colls.jpg

Outliner showing created collections.

The Map Data function will create several collections listed below:

  1. CSV Master

    The main collection containing all objects relating to CSV Charts.

  2. CSV_ValueObjects

    ../_images/csv_outliner_valueobjects.jpg

    Contains objects that get instanced by CSV_Instances.

    Default state: Hidden

  3. CSV_Instances

    ../_images/csv_outliner_csvinstances.jpg

    Contains an object for each row in the csv file. The objects are named as per the Selected Field Dropdown when Mapping Data.

    Default state: Hidden

  4. CSV_ChartObjects

    ../_images/csv_outliner_csvchartobjs.jpg

    Contains the chart shape instanced by Area_Object. The objects are named as per the Selected Field Dropdown when Mapping Data.

    Default state: Hidden

  5. CSV_Chart_Area

    ../_images/csv_outliner_csvchartarea.jpg

    Contains the Area_Object. This is the main chart object, all objects in other collections get instanced here.

    Default state: Visible

Usage

Mapping and clearing data to the scene

The below example shows how to map data and how to clear it.

Important

Do not clear the csv data unless you want to permanently remove all created CSV objects from your scene. If you want to update data, use the Update Data function.

../_images/csv_map_data_use.gif

Mapping and clearing data.