Next to code cells, text cells and SQL cells, Workspace also allows you to insert dedicated chart cells into your notebook. Chart cells are a way to create charts from data frames without writing any code. They are great for quick exploration, but also for building publication-grade visuals to include in your reports.
- Open a notebook file in DataCamp's notebook editor.
- Click "Add Chart" at the bottom of the notebook (or on "Add chart" when hovering on the area in between two cells).
- Select the data frame you want to visualize in the typeahead block in the chart cell header.
- Select the chart type and the variables to map onto the X-axis and Y-axis. You can optionally also select a variable to group by, to display multiple lines/bars for multiple categories.