plotly django
Hello everyone! Recently I had to do some visualizations for my university project, I’ve done some googling and haven’t found any simple guides on how to put Plotly plots on an HTML page.
大家好! 最近,我不得不为我的大学项目做一些可视化处理,做了一些谷歌搜索,还没有找到任何有关如何在HTML页面上放置Plotly图的简单指南。
Before we start I assume that you have running the Django HTML page. Why Plotly? Plotly allows you to make interactive, beautifully designed plots in a matter of minutes. Despite that originally Plotly is a Python library, we won’t use any Python programming today.
在开始之前,我假设您已经运行了Django HTML页面。 为什么情节? 通过Plotly,您可以在几分钟内完成交互式 ,设计精美的绘图。 尽管Plotly最初是一个Python库,但今天我们不会使用任何Python编程。
对于那些没有太多时间的人,这里是简短指南: (For those who don’t have much time, here is the short guide:)
Go to Plotly Chart Studio, create your account.
转到Plotly Chart Studio ,创建您的帐户。
- Click on the “Create” button and choose “Chart”. 单击“创建”按钮,然后选择“图表”。
- Import your data and click on the “Trace” button. 导入数据,然后单击“跟踪”按钮。
- Choose the type of plot you want. 选择所需的绘图类型。
- Once you made your dream-plot, save it, sett