Skip to content

Commit 28aa882

Browse files
feat(highcharts): implement donut-basic (#1403)
## Implementation: `donut-basic` - highcharts Implements the **highcharts** version of `donut-basic`. **File:** `plots/donut-basic/implementations/highcharts.py` --- :robot: *[impl-generate workflow](https://github.com/MarkusNeusinger/pyplots/actions/runs/20448001420)* --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a46189c commit 28aa882

2 files changed

Lines changed: 19 additions & 12 deletions

File tree

plots/donut-basic/implementations/highcharts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
""" pyplots.ai
22
donut-basic: Basic Donut Chart
3-
Library: highcharts 1.10.3 | Python 3.13.11
4-
Quality: 95/100 | Created: 2025-12-14
3+
Library: highcharts unknown | Python 3.13.11
4+
Quality: 91/100 | Created: 2025-12-23
55
"""
66

77
import tempfile
@@ -41,7 +41,7 @@
4141

4242
# Title
4343
chart.options.title = {
44-
"text": "donut-basic \u00b7 highcharts \u00b7 pyplots.ai",
44+
"text": "donut-basic · highcharts · pyplots.ai",
4545
"style": {"fontSize": "48px", "fontWeight": "bold"},
4646
}
4747

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
11
library: highcharts
22
specification_id: donut-basic
3-
created: 2025-12-14 10:13:32+00:00
4-
updated: 2025-12-14 10:13:32+00:00
3+
created: '2025-12-23T00:51:02Z'
4+
updated: '2025-12-23T01:22:13Z'
55
generated_by: claude-opus-4-5-20251101
6-
workflow_run: 20206401194
7-
issue: 733
6+
workflow_run: 20448001420
7+
issue: 0
88
python_version: 3.13.11
9-
library_version: 1.10.3
9+
library_version: unknown
1010
preview_url: https://storage.googleapis.com/pyplots-images/plots/donut-basic/highcharts/plot.png
1111
preview_thumb: https://storage.googleapis.com/pyplots-images/plots/donut-basic/highcharts/plot_thumb.png
1212
preview_html: https://storage.googleapis.com/pyplots-images/plots/donut-basic/highcharts/plot.html
13-
quality_score: 95
13+
quality_score: 91
1414
review:
15-
strengths: []
16-
weaknesses: []
17-
improvements: []
15+
strengths:
16+
- Excellent use of colorblind-safe color palette matching library guidelines
17+
- Clean center annotation showing total budget with proper formatting
18+
- Well-sized data labels with percentage formatting
19+
- Professional appearance with good ring thickness (55% inner size)
20+
- Proper Highcharts implementation with correct container setup
21+
- Interactive HTML version also generated
22+
weaknesses:
23+
- Legend text appears slightly small relative to the chart size on the right side
24+
- 'Center text could be better vertically centered (currently offset with y: 60)'

0 commit comments

Comments
 (0)