sebdg/valuechainhackers
1
1---2title: Valuechainhackers3emoji: ๐4colorFrom: green5colorTo: pink6sdk: docker7pinned: false8---9 10To get started working with quarto we recommend you first [install quarto](https://quarto.org/docs/get-started/) locally so that you can render the site without Docker.11We also recommend the [Quarto VS Code Extension](https://marketplace.visualstudio.com/items?itemName=quarto.quarto) which provides syntax highlighting, code completion, a preview button and more.12 13The quarto source is located in `src` and you can preview the site with:14 15```16quarto preview src17```18 19A web browser should open up with a live preview of the site.20 21## Making changes22 23The `src/_quarto.yml` contains the site-level configuration for the quarto website and tells quarto which files to render, and how they should be organized.24For example if you wanted to modify the [site navigation](https://quarto.org/docs/reference/site-navigation.html) you should modify this file.25 26Quarto can render markdown, ipynb, and .qmd files, and you can mix formats in a single document.27 28## Executing code29 30One of the main virtues of Quarto is that it lets you combine code and text in a single document.31By default if you include a code chunk in your document, Quarto will execute that code and include the output in the rendered document.32This is great for reproducibility and for creating documents that are always up-to-date.33 34```{python}35import seaborn as sns36import matplotlib.pyplot as plt37 38# Sample data39tips = sns.load_dataset("tips")40 41# Create a seaborn plot42sns.set_style("whitegrid")43g = sns.lmplot(x="total_bill", y="tip", data=tips, aspect=2)44g = (g.set_axis_labels("Total bill (USD)", "Tip").set(xlim=(0, 60), ylim=(0, 12)))45 46plt.title("Tip by Total Bill")47plt.show()48```49 