๐Ÿ“ˆ Communicate your results effectively with the best data visualizations
โœจ

๐Ÿ“ˆ Communicate your results effectively with the best data visualizations

October 25, 2023ยท
Feiyue Xia
Feiyue Xia
ยท 4 min read
Image credit: Unsplash
blog

Hugo Blox is designed to give technical content creators a seamless experience. You can focus on the content and Hugo Blox handles the rest.

Use popular tools such as Plotly, Mermaid, and data frames.

Embed Rich Content

HuggingFace Model

google/embeddinggemma-300m

sentence-similarity
713.778k
1.427k
Powered by Hugo Blox Kit - https://github.com/HugoBlox/kit

HuggingFace Dataset

a.k.a. Awesome ChatGPT Prompts This is a Dataset Repository mirror of prompts.chat โ€” a social platform for AI prompts. ๐Ÿ“ข Notice This Hugging Face dataset is a mirror. For the โ€ฆ

16.969k
9.569k
Powered by Hugo Blox Kit - https://github.com/HugoBlox/kit

GitHub Repository

kit

by HugoBlox โ€ข HTML

โšก The Open Research Copilot. Build high-perf Portfolios, Lab Sites & Docs in Markdown + Jupyter. 100% Data Control. ๐Ÿฆซ ๆ•ฐๆฎ็ง‘ๅญฆๅฎถ็š„ๅผ€ๆบ Copilotใ€‚ไธ€้”ฎ้ƒจ็ฝฒ ๐Ÿ‘‡

git-fork2.955k
1
9.769k
academic blog blog-engine +17
Powered by Hugo Blox Kit - https://github.com/HugoBlox/kit

Custom embed with manual data

A great resource for learning

Powered by Hugo Blox Kit - https://github.com/HugoBlox/kit

Custom Images

Embed beautiful images from any source with Hugo image processing (Unsplash, custom URLs, etc.):

Beautiful data visualization workspace

Beautiful data visualization workspace

Powered by Hugo Blox Kit - https://github.com/HugoBlox/kit

You can also add images to any platform embed:

plotly.py

by plotly โ€ข Python
plotly.py

The interactive graphing library for Python โœจ

git-fork2.775k
18.214k
d3 dashboard declarative +11
Powered by Hugo Blox Kit - https://github.com/HugoBlox/kit

Charts

Hugo Blox supports the popular Plotly format for interactive data visualizations. With Plotly, you can design almost any kind of visualization you can imagine!

Save your Plotly JSON in your page folder, for example line-chart.json, and then add the {{< chart data="line-chart" >}} shortcode where you would like the chart to appear.

Demo:

You might also find the Plotly JSON Editor useful.

Diagrams

Hugo Blox supports the Mermaid Markdown extension for diagrams.

An example flowchart:

```mermaid
graph TD
A[Hard] -->|Text| B(Round)
B --> C{Decision}
C -->|One| D[Result 1]
C -->|Two| E[Result 2]
```

renders as

graph TD A[Hard] -->|Text| B(Round) B --> C{Decision} C -->|One| D[Result 1] C -->|Two| E[Result 2]

An example sequence diagram:

```mermaid
sequenceDiagram
Alice->>John: Hello John, how are you?
loop Healthcheck
    John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
```

renders as

sequenceDiagram Alice->>John: Hello John, how are you? loop Healthcheck John->>John: Fight against hypochondria end Note right of John: Rational thoughts! John-->>Alice: Great! John->>Bob: How about you? Bob-->>John: Jolly good!

An example class diagram:

```mermaid
classDiagram
Class01 <|-- AveryLongClass : Cool
Class03 *-- Class04
Class05 o-- Class06
Class07 .. Class08
Class09 --> C2 : Where am i?
Class09 --* C3
Class09 --|> Class07
Class07 : equals()
Class07 : Object[] elementData
Class01 : size()
Class01 : int chimp
Class01 : int gorilla
Class08 <--> C2: Cool label
```

renders as

classDiagram Class01 <|-- AveryLongClass : Cool Class03 *-- Class04 Class05 o-- Class06 Class07 .. Class08 Class09 --> C2 : Where am i? Class09 --* C3 Class09 --|> Class07 Class07 : equals() Class07 : Object[] elementData Class01 : size() Class01 : int chimp Class01 : int gorilla Class08 <--> C2: Cool label

An example state diagram:

```mermaid
stateDiagram
[*] --> Still
Still --> [*]
Still --> Moving
Moving --> Still
Moving --> Crash
Crash --> [*]
```

renders as

stateDiagram [*] --> Still Still --> [*] Still --> Moving Moving --> Still Moving --> Crash Crash --> [*]

Data Frames

Save your spreadsheet as a CSV file in your page’s folder and then render it by adding the Table shortcode to your page:

{{< table path="results.csv" header="true" caption="Table 1: My results" >}}

renders as

customer_idscore
10
20.5
31
Table 1: My results

Interactive Buttons

Add engaging call-to-action buttons to your data visualization posts:

Basic Buttons

ย 

{{< button url="/" >}}Contact Us{{< /button >}}

{{< button url="https://plotly.com/python/" new_tab="true" style="secondary" >}}Learn Plotly{{< /button >}}

Styled Buttons for Data Actions

ย 

ย 

{{< button url="#" style="primary" size="lg" align="center" icon="chart-bar" >}}View Dashboard{{< /button >}}

{{< button url="/data/results.csv" style="outline" icon="document-arrow-down" >}}Download Data{{< /button >}}

{{< button url="https://github.com/HugoBlox" new_tab="true" style="ghost" icon="arrow-top-right-on-square" icon_position="right" >}}View Source Code{{< /button >}}

Multiple Aligned Buttons

ย 

{{< button url="https://jupyter.org/" new_tab="true" style="secondary" rounded="full" align="center" >}}Try Jupyter{{< /button >}}

{{< button url="https://colab.research.google.com/" new_tab="true" style="primary" rounded="full" align="center" icon="rocket-launch" >}}Open in Colab{{< /button >}}

Did you find this page helpful? Consider sharing it ๐Ÿ™Œ

Feiyue Xia
Authors
Feiyue Xia (he/him)
Ph.D candidate
Feiyue Xia is a dedicated Ph.D. student in Petroleum Engineering at The University of Texas at Austin, where he conducts research under the supervision of Professor Carlos Torres-Verdรญn. His work focuses on advancing acoustic logging processing techniques to address contemporary challenges in energy development. Building on a strong foundation established under Professor Xiao-Ming Tang at the China University of Petroleum (East China), Feiyue specializes in the integration of borehole geophysics, rock physics, and formation evaluation. His academic experience extends internationally, including study programs in Italy and Russia, as well as participation in the IPTC Educational Week in 2019. Feiyue has been recognized with several notable distinctions, including the SPWLA Scholarship (2019) and the UT Engineering School Fellowship (2022โ€“2026). Committed to continued academic and professional growth, he brings enthusiasm, focus, and a global perspective to the fields of energy and geoscience engineering.