# Mathober2025_Hexyl

# HexylViewPoint

For my 25th sketch of **Mathober2025** coded in **Python, HexylViewPoint** takes the 29th prompt of ***Hexyl*** and uses the chemical Hexyl acetate as a focal point to graph various melting and boiling points.

##   
Poetry

```ocaml

Directions
Flowing out of Relations
Sensations
Manufactured from Chemical Reactions
Melting and boiling that changes their Formations
```

## Images

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1761168193353/cc96adf1-11c6-4f2c-a6b0-562f3d68b879.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1761168198250/80514ea2-748e-4d04-a69d-046b272310b2.png align="center")

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1761168204867/34d3bb93-7533-48f8-b2bd-2199e431925c.png align="center")

## Information Used

### Melting Point Data and Boiling Data :

[https://www2.chemistry.msu.edu/faculty/reusch/virttxtjml/physprop.htm](https://www2.chemistry.msu.edu/faculty/reusch/virttxtjml/physprop.htm)

### Hexyl acetate :

Chemical Formula: C<sub>8</sub>H<sub>16</sub>O<sub>2</sub>

Whole Ratio: C<sub>4</sub>H<sub>8</sub>O

Melting Temp: -80 C

Boiling Point: 156 C

## Code

### Radial Graph

```python
import plotly.express as px
import pandas as pd
fig = px.line_polar(df, r= df['Melting Point'], theta=df['Compound'], line_close=True)
fig.update_traces(fill='toself')
fig.show()
```

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1761168120220/07729f69-2b5a-4ac5-80b8-04e76bd91ec5.png align="center")

```python
import plotly.express as px
import pandas as pd
fig = px.line_polar(df, r= df['Boiling Point'], theta=df['Compound'], line_close=True)
fig.update_traces(fill='toself')
fig.show()
```

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1761168130470/bb6630d5-2b21-4202-ad1c-f24936012628.png align="center")

### Heatmap

```python
df.style.background_gradient(cmap ='viridis')\
        .set_properties(**{'font-size': '20px'})
```

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1761168093433/10a96f75-a574-4fd0-ad9c-1e5651c716f9.png align="center")

### Bar Graphs

```python
import pandas as pd
import seaborn as sns

sns.barplot(x="Compound", y="Melting Point", data=df, palette = 'pastel')
```

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1761168063561/745a6aad-f491-4e2d-a01f-d152b92cc044.png align="center")

```python
import pandas as pd
import seaborn as sns

sns.barplot(x="Compound", y="Boiling Point", data=df, palette = 'pastel')
```

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1761168078818/bb7fb1e0-6343-4561-862b-e0cba126c36e.png align="center")
