a post with plotly.js
This is an example post with some plotly code.
```plotly
{
"data": [
{
"x": [1, 2, 3, 4],
"y": [10, 15, 13, 17],
"type": "scatter"
},
{
"x": [1, 2, 3, 4],
"y": [16, 5, 11, 9],
"type": "scatter"
}
]
}
```
Which generates:
{
"data": [
{
"x": [1, 2, 3, 4],
"y": [10, 15, 13, 17],
"type": "scatter"
},
{
"x": [1, 2, 3, 4],
"y": [16, 5, 11, 9],
"type": "scatter"
}
]
}
Also another example chart.
```plotly
{
"data": [
{
"x": [1, 2, 3, 4],
"y": [10, 15, 13, 17],
"mode": "markers"
},
{
"x": [2, 3, 4, 5],
"y": [16, 5, 11, 9],
"mode": "lines"
},
{
"x": [1, 2, 3, 4],
"y": [12, 9, 15, 12],
"mode": "lines+markers"
}
],
"layout": {
"title": {
"text": "Line and Scatter Plot"
}
}
}
```
This is how it looks like:
{
"data": [
{
"x": [1, 2, 3, 4],
"y": [10, 15, 13, 17],
"mode": "markers"
},
{
"x": [2, 3, 4, 5],
"y": [16, 5, 11, 9],
"mode": "lines"
},
{
"x": [1, 2, 3, 4],
"y": [12, 9, 15, 12],
"mode": "lines+markers"
}
],
"layout": {
"title": {
"text": "Line and Scatter Plot"
}
}
}
Enjoy Reading This Article?
Here are some more articles you might like to read next:
- Il ritorno dei classificatori: i modelli di decisione
- Il pianeta dei desideri: cosa ci insegna Pianeta Proibito sugli LLM
- OpenWorker: un agente AI open source che gira dove decidi tu
- Audit delle licenze nei progetti con componenti di terze parti
- LLM Wiki con Obsidian - come iniziare in meno di 10 minuti
- Creare un LLM Wiki con Obsidian
- Cosa è un LLM Wiki
- Dal Vibe Coding all'Agentic Software Engineering: la differenza non è di strumento ma di postura professionale
- Umano o Sintetico? Il Valore di un Testo va Oltre la sua Origine
- La norma UNI 11621-8 e le professioni AI