Repository navigation
feat(v3): add word-cloud chart component (#3893) - #3907
Closed
DoubleCore wants to merge 3 commits into
Closed
DoubleCore wants to merge 3 commits into
DoubleCore wants to merge 3 commits into
Conversation
Signed-off-by: DoubleCore <doublecore@users.noreply.github.com>
6 of 28 tasks
Remove shared README and skill entry changes as requested by the maintainer; shared entries will be added by a separate batch PR.
Restore shared files to this PR's merge-base content, preserving upstream changes made after the branch diverged. A unified follow-up PR will own the batch entries.
Author
|
按维护者 @interstellarmt 在 #3893 的协调结论,我保留已 review 的 8 个 PR(#3895/#3897/#3898/#3899/#3900/#3901/#3903/#3905),其余子任务交给其他同学认领,本 PR 关闭让位、不再推进。 交付物完整保留在分支 给其他同学让路,避免重复开发。感谢 @interstellarmt 的协调。 |
Author
|
给后来人的实现笔记(本 PR 已关闭让位,内容保留供参考) 这张图我实现过一版,按维护者协调已关闭让位给其他同学。把踩过的坑整理在这里,省得后来人重新试错。 关键路径mark 名是驼峰 chart.options({
type: 'wordCloud',
data,
encode: { text: 'keyword', value: 'searchCount', color: 'keyword' },
layout: { fontSize: [16, 64], padding: 2, rotate: 0 },
legend: false,
});权重字段映射到 高频易错点(都是我实际撞过的)
完整表格见 交付物清单(对照 #3893 验收标准)
我做过什么(可直接复用)分支 git fetch origin issue-3893-word-cloud
git checkout -b my-word-cloud origin/issue-3893-word-cloud # 直接接手
# 或只取文件
git show origin/issue-3893-word-cloud:charts/word-cloud.md
git show origin/issue-3893-word-cloud:evals/cases/word-cloud.jsonl重写时不必照抄,但建议:
实现上发现我哪里写错了,欢迎直接指出,我关了 PR 但代码还在。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
charts/word-cloud.md— 词云选型、数据要求、常见变体与完整案例examples/word-cloud/— 可运行示例:基础词频、按类别着色、自定义旋转与字体evals/cases/word-cloud.jsonl— 14 条代表性评测用例(每行 1 个 JSON 对象)skills/g2plot-v3/SKILL.md— 选型决策树新增word-cloud入口README.md/README.zh-CN.md— 图表支持列表Checks
Scope
word-cloud一种图表,未改动其他既有图表文档或示例@antv/g2v5 Spec API +new Chart({ container, autoFit: true })+chart.render()Closes part of #3893