# Create charts & visualizations (/docs/code-interpreting/create-charts-visualizations)

<!-- agent-signals: reading_time_min: 1 · est_tokens: 135 · updated: 2026-07-30 -->
Related: [Analyze data with AI](/docs/code-interpreting/analyze-data-with-ai.md), [Code contexts](/docs/code-interpreting/contexts.md), [Customize the template](/docs/code-interpreting/customize-template.md), [Streaming](/docs/code-interpreting/streaming.md), [Supported languages](/docs/code-interpreting/supported-languages.md)

E2B Sandbox allows you to create charts and visualizations by executing Python code inside the sandbox with `runCode()` method in JavaScript and `run_code()` method in Python.

These charts and visualizations can be [static](/docs/code-interpreting/create-charts-visualizations/static-charts) or [interactive](/docs/code-interpreting/create-charts-visualizations/interactive-charts) plots.

{/* <Note>
  Learn more about different types of results that E2B Sandbox can return [(TODO: link)here](/code-interpreting/results).
  </Note> */}
