---
title: "Chart Renderer"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/lib/charts/chartrenderer
markdown: https://docs.nodetool.ai/nodes/lib/charts/chartrenderer.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/lib/charts/chartrenderer.md
---

# Chart Renderer

**Type:** `lib.charts.ChartRenderer`

**Namespace:** `lib.charts`

## Description

Node responsible for rendering chart configurations into image format using seaborn.
    chart, seaborn, plot, visualization, data

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| chart_config | `chart_config` | The chart configuration to render. | `{"type":"chart_config","title":"","x_label":"",...` |
| width | `int` | The width of the chart in pixels. | `640` |
| height | `int` | The height of the chart in pixels. | `480` |
| data | `dataframe` | The data to visualize as a pandas DataFrame. | `{"type":"dataframe","uri":"","asset_id":null,"d...` |
| background_color | `str` | Background color of the chart (CSS color string). | `#ffffff` |
| despine | `bool` | Whether to remove top and right spines. | `true` |
| trim_margins | `bool` | Whether to use tight layout for margins. | `true` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `image` |  |

## Related Nodes

Browse other nodes in the [lib.charts](./) namespace.
