plotly / plotly/Plotly.NET

Tag cloud

未关闭
#419 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Difficulty: Intermediate FsLab Hackathon 2023 Status: In Progress
主要语言
F#
星标
860
派生
99
平均合并
22 分钟
30 天内合并 PR
1

描述

Description

A tag cloud is a visual representation for text data, typically used to depict keyword metadata (tags) on websites, to visualize free form text or to analyses speeches( e.g. election’s campaign). Tags are usually single words, and the importance of each tag is shown with font size or color. This format is useful for quickly perceiving the most prominent terms and for locating a term alphabetically to determine its relative prominence [1].

Depending on the level of sophistication, calculating positioning in a given space can become quite complex [2, 3]. If you need external dependencies, make sure to move this issue to the FsLab repository

Example

References
Pointers
  • Ideally, you start prototyping in a scripting or notebook environment where you can iterate fast. installation instructions can be found here: https://plotly.net/#Installation
  • Charts like this that are using baseline trace types to create a new chart type should only be implemented in the top-level Chart API. An example where this is already done is the Range chart that combines a set of differently styled line charts.
  • Ideally prevent text processing and just focus the plot on creating the tag cloud based on occurrence in a collection of strings. Preprocessing should be done in the pipeline before applying the visualization technique.
Hints (click to expand if you need additional pointers)
  • you can position text on a scatterplot and hide the markers to only show text
  • in a more sophisticated manner, you can also draw shapes on a plot that are either boxes containing text or even svg paths representing the text.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先在 issue 中描述的脚本或 notebook 环境中进行原型设计,然后阅读 src/Plotly.NET/ChartAPI/Chart2D.fs 中顶层的 Chart API 和 Range chart 示例。探索使用隐藏 marker 的散点图,并将预处理放在可视化之外。完成的标准是 Chart API 能够根据字符串集合中的出现次数数据创建标签云。

由索引模型根据 Issue 内容生成。

评估

技术栈
fsharp
领域
data-visualization
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。