> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Visualize with Python

Visualizations allow you to transform entire data sheets or specific cell selections into charts to help you understand your data. Anaconda provides a variety of charts so you can present your data in a way that makes sense for your use case.

## Creating a chart

Create a new chart using the following steps:

1. Under <Icon icon="signal-bars-good" iconType="solid" color="#08CA4A" size={24} /> **Visualizations**, click **Visualize with Python**.

2. Click **+ New Chart**.

3. Select a chart type from the list of charts.

4. Select your source data range and configure the controls on the **Setup** tab.

   <Frame>
     <img src="https://mintcdn.com/anaconda-29683c67/r-i16GgDcvoHQ-Uq/images/excel/visualize_setup.png?fit=max&auto=format&n=r-i16GgDcvoHQ-Uq&q=85&s=15ada53aadc186591d75dc0c984218a8" alt="" width="1298" height="1710" data-path="images/excel/visualize_setup.png" />
   </Frame>

5. (Optional) Customize your chart further with the options provided on the **Design** tab.

6. Click **Create**.

7. Set the location for the chart to render, then click **OK**. The chart renders within the confines of the cell.

   <Tip>
     To move a chart to a new cell after creating it, click <Icon icon="ellipsis-vertical" iconType="solid" /> actions beside the chart, then click <Icon icon="arrows-up-down-left-right" iconType="light" /> **Move**.

     <Frame>
       <img src="https://mintcdn.com/anaconda-29683c67/r-i16GgDcvoHQ-Uq/images/excel/visualize_move.png?fit=max&auto=format&n=r-i16GgDcvoHQ-Uq&q=85&s=b7700f70dbd374a214d7cbf6196c2687" alt="" width="1296" height="882" data-path="images/excel/visualize_move.png" />
     </Frame>
   </Tip>

8. To properly view the chart, select the cell, then click **Create Reference**.

   <Frame>
     <img src="https://mintcdn.com/anaconda-29683c67/r-i16GgDcvoHQ-Uq/images/excel/visualize_render.png?fit=max&auto=format&n=r-i16GgDcvoHQ-Uq&q=85&s=3e94fdcbb7f469e6f7f9ee34acf17b99" style={{ width: "400px" }} alt="" width="746" height="260" data-path="images/excel/visualize_render.png" />
   </Frame>

   The chart displays as an enlarged copy. If you'd prefer to view the enlarged chart only when needed, you can delete the enlarged copy and recreate it at any time.

## Editing a chart

Edit an existing chart by adjusting the parameters provided on the **Setup** and **Design** tabs or by manually configuring the code on the **Code** tab.

<Tabs>
  <Tab title="Setup and Design">
    1. From the Visualizations home page, click the chart you want to edit.

           <Frame>
             <img src="https://mintcdn.com/anaconda-29683c67/r-i16GgDcvoHQ-Uq/images/excel/visualize_select.png?fit=max&auto=format&n=r-i16GgDcvoHQ-Uq&q=85&s=31a77cbbdc3b3bbd4bad345df078be40" alt="" width="1284" height="836" data-path="images/excel/visualize_select.png" />
           </Frame>

    2. Make any necessary changes on the **Setup** and **Design** tabs, then click **Apply**.
  </Tab>

  <Tab title="Code">
    The **Code** tab displays auto-generated code based on your selections in the **Setup** and **Design** tabs. While the tabs offer numerous configuration options, the underlying Python library, seaborn, offers additional flexibility, as detailed in the seaborn [API documentation](https://seaborn.pydata.org/api#function-interface).

    To take advantage of this flexibility:

    1. From the Visualizations home page, click the chart you want to edit.

           <Frame>
             <img src="https://mintcdn.com/anaconda-29683c67/r-i16GgDcvoHQ-Uq/images/excel/visualize_select.png?fit=max&auto=format&n=r-i16GgDcvoHQ-Uq&q=85&s=31a77cbbdc3b3bbd4bad345df078be40" alt="" width="1284" height="836" data-path="images/excel/visualize_select.png" />
           </Frame>

    2. Click the **Code** tab.

    3. Enter <Icon icon="pencil" iconType="thin" /> **Edit** mode.

    4. Make any necessary changes to the code, then click **Apply**.

    While you are in <Icon icon="pencil" iconType="thin" /> **Edit** mode, the **Setup** and **Design** tabs become locked because free-form code changes cannot be reflected back to the UI elements in the **Setup** and **Design** tabs.

    <Warning>
      Once you edit a chart's code manually, you cannot return to using the **Setup** and **Design** tabs to configure your chart without first discarding all of the changes you've made to the chart's code. The reason is that the **Setup** and **Design** tabs will again auto-generate code and overwrite any existing code in the **Code** tab.
    </Warning>
  </Tab>
</Tabs>
