Create data visualization
create_data_visualizationBuild a data-driven visualization in TouchDesigner by generating a container with data source, conversion operators, scale, and chart. Wire your data into the created 'data' node.
Instructions
Build a data-driven visualization: a data source feeds a CHOP that drives a chart TOP. Creates a new baseCOMP under parent_path holding a 'data' source operator (seeded with placeholder values), a DAT-to-CHOP / CHOP-to-TOP conversion, a Scale level, the chart visual, and a Null output. Wire your real data into the created 'data' node. Returns a summary plus a JSON block with the container path, created node paths, the output path, exposed controls, any node errors, warnings (including a reminder to wire real data), and an inline preview image.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_source | No | Kind of source operator to create: 'table' (Table DAT, pre-seeded with sample values), 'file' (File In DAT), or 'chop' (Constant CHOP). Wire your real data into the created 'data' node afterward. | table |
| chart_style | No | Visual style. 'bars' renders a GLSL bar chart; 'graph' and 'points' currently render the data as a texture strip and add a warning that richer plotting needs customization. | bars |
| expose_controls | No | When true (default), expose a live 'Scale' knob that amplifies the data values feeding the chart. | |
| parent_path | No | Parent network where the visualization container is created (default '/project1'). | /project1 |