# \[ANN\] Announcing PlotlyLight.jl

**URL:** <https://discourse.julialang.org/t/ann-announcing-plotlylight-jl/76549>\
**Category:** Package Announcements\
**Tags:** plotting, plotlyjs, plotlylight\
**Created:** [February 16, 2022, 10:34am UTC](https://discourse.julialang.org/t/ann-announcing-plotlylight-jl/76549 "2022-02-16T10:34:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshday](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/joshday/32/368_2.png) [@joshday](https://discourse.julialang.org/u/joshday)\
**Post date:** [February 16, 2022, 10:34am UTC](https://discourse.julialang.org/t/ann-announcing-plotlylight-jl/76549/1 "2022-02-16T10:34:06Z")

</div>

## Hey all!

I’d like to share a lightweight interface to create Plotly.js plots from Julia:

> **[GitHub - JuliaComputing/PlotlyLight.jl: Fast Lightweight Plotly.js Wrapper for Julia](https://github.com/JuliaComputing/PlotlyLight.jl)**
>
> Fast Lightweight Plotly.js Wrapper for Julia

Since Plotly plots are generated from 3 JSON objects (`data`, `layout`, and `config`), we simply `JSON3.write` some [`EasyConfig.Config`](https://github.com/joshday/EasyConfig.jl)s and the rest is up to you. This lets you use [Plotly’s javascript docs](https://plotly.com/javascript/) directly and makes the package core super small (currently 158 lines including inline docs!).

Some highlights are below. See the README for more details:

## Cool Features:

- 🚀 Fastest time-to-first-plot in Julia! (as far as I can tell)
- 🌐 Use the [Plotly.js Javascript documentation](https://plotly.com/javascript/) directly. No magic syntax: Just [`JSON3.write`](https://github.com/quinnj/JSON3.jl).
  - Set deeply-nested keys easily with [`EasyConfig.jl`](https://github.com/joshday/EasyConfig.jl).
    - e.g. `myplot.layout.xaxis.title.font.family = "Arial"`

- 🕸 Plays nicely with [Cobweb.jl](https://github.com/joshday/Cobweb.jl) to display and save plots.
- 🎈 Plots will appear in `MIME"text/html"` environments (like [Pluto.jl](https://github.com/fonsp/Pluto.jl)).
- 📊 The Same [built-in themes](https://plotly.com/python/templates/) as Plotly’s python package.
