# Plot the following table Please

**URL:** https://discourse.julialang.org/t/plot-the-following-table-please/46714
**Category:** Visualization
**Created:** [September 16, 2020, 3:26pm UTC](https://discourse.julialang.org/t/plot-the-following-table-please/46714 "2020-09-16T15:26:54Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)
#### Post date: [September 16, 2020, 3:55pm UTC](https://discourse.julialang.org/t/plot-the-following-table-please/46714/4 "2020-09-16T15:55:03Z")

</div>

Here is an example to help you

```julia
julia> using DataFrames, Plots;

julia> df = DataFrame(shoetype = ["Sneaker", "Boot", "High-heels"], price = [10, 20, 15]);

julia> bar(df.shoetype, df.price);

```

It produces the following graph:

![Screenshot from 2020-09-16 11-54-36](https://global.discourse-cdn.com/julialang/original/3X/b/0/b08cb9e95d04b6e9c894997e68c5b777b2936498.png)

---

_[View the full topic](https://discourse.julialang.org/t/plot-the-following-table-please/46714)._
