Closed Bug 1133087 Opened 9 years ago Closed 9 years ago

Creation of a double bar chart infographic

Categories

(Websites :: Shape of the Web, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ckprice, Assigned: espressive)

References

()

Details

(Whiteboard: [kb=1662263] )

Attachments

(1 file)

Develop a mirror/stacked bar chart template for the localization infographic.

Dependent on design.
Whiteboard: [kb=1662263]
Assignee: nobody → schalk.neethling.bugs
Priority: -- → P2
Just to confirm, this is the stacked bar chart we are after, correct?
https://bug1113249.bugzilla.mozilla.org/attachment.cgi?id=8565667
Flags: needinfo?(cprice)
Yep! https://bugzilla.mozilla.org/show_bug.cgi?id=1113249#c11 has a link to the data.
Flags: needinfo?(cprice)
Looking at the revised JSON in https://bugzilla.mozilla.org/show_bug.cgi?id=1156480#c4 I am wondering, do we not want the data to be in a format such as this:

{
    "commonLanguages": [
        {
            "language": "English",
            "data": [.56, .29]
        },
        {
            "language": "Chinese",
            "data": [.03, .23]
        }
    ]
}

The data will map as follows: [internet content, internet population]

The reason for the .56 notation is so that we can use the d3 percentage format which will multiple the value by 100 and append a %

Thoughts?
Flags: needinfo?(gjost)
Flags: needinfo?(cprice)
whoops, that needs to be 0.56 etc.
Hey Schalk, I am agnostic in terms of formatting. I didn't touch the data for this infographic as it was still using the old structure/template. Let me know what I should use and I will comply!
Flags: needinfo?(gjost)
> I will comply
+1
Flags: needinfo?(cprice)
Great, let's do it then like I suggested in https://bugzilla.mozilla.org/show_bug.cgi?id=1133087#c3 - Thanks!
Commits pushed to master at https://github.com/mozilla/lorax

https://github.com/mozilla/lorax/commit/fdc718e623bf653470902740124404a68cbabfda
Fix Bug 1133087, develop grouped bar chart, convert languages infographic

https://github.com/mozilla/lorax/commit/88ec3c391beca69e6c6cc4e9364fb672032a5981
Merge pull request #49 from schalkneethling/bug1133087-develop-grouped-bar-chart

Fix Bug 1133087, develop grouped bar chart, convert languages infographic
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Blocks: 1133097
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: