Skip to content

visualisation data error #1583

Answered by mturoci
Rmfjd1978 asked this question in Q&A
Aug 10, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

pack=True parameter is needed for your data:

plotdata = data('year person sales', 10, rows=[
    ('2021', 'Joe', 10),
    ('2022', 'Jane', 58),
    ('2023', 'Ann', 114),
    ('2021', 'Tim', 31),
    ('2023', 'Joe', 96),
    ('2021', 'Jane', 55),
    ('2023', 'Jane', 5),
    ('2022', 'Tim', 85),
    ('2023', 'Tim', 132),
    ('2022', 'Joe', 54),
    ('2021', 'Ann', 78),
    ('2022', 'Ann', 18),
], pack=True)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Rmfjd1978
Comment options

Answer selected by mturoci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants