1. A computer-implemented method of generating a visualization of a plurality of words inside a predefined shape, the method comprising: at an electronic device including a computer readable medium, one or more processors, and a display: storing, in the computer readable medium, a plurality of values, each corresponding to one of the plurality of words; selecting, the one or more processors, a maximum word size; computing, the one or more processors, a word size for each of the plurality of words based on the value corresponding to the word and the maximum word size; obtaining, the one or more processors, a word color for each of the plurality of words; and generating, the one or more processors, an image data structure for displaying on the display, the image data structure including an image having the plurality of words, each word having the corresponding word size and the corresponding word color; wherein selecting the maximum word size includes: generating, the one or more processors, a first set of maximum word sizes; for each maximum word size in the first set, arranging, using the one or more processors, the plurality of words such that a first word of the plurality of words has the maximum word size and remaining words of the plurality of words are not larger than the maximum word size, and determining, using the one or more processors, whether the arrangement of the plurality of words satisfies a first criterion, the first criterion being that none of the words in the arrangement are outside the predefined shape; selecting, the one or more processors, the largest maximum word size in the first set having an arrangement of the plurality of words that satisfies the first criterion.
1. A computer-implemented method of generating a visualization of a plurality of words inside a predefined shape, the method comprising: at an electronic device including a computer readable medium, one or more processors, and a display: storing, in the computer readable medium, a plurality of values, each corresponding to one of the plurality of words; selecting, the one or more processors, a maximum word size; computing, the one or more processors, a word size for each of the plurality of words based on the value corresponding to the word and the maximum word size; obtaining, the one or more processors, a word color for each of the plurality of words; and generating, the one or more processors, an image data structure for displaying on the display, the image data structure including an image having the plurality of words, each word having the corresponding word size and the corresponding word color; wherein selecting the maximum word size includes: generating, the one or more processors, a first set of maximum word sizes; for each maximum word size in the first set, arranging, using the one or more processors, the plurality of words such that a first word of the plurality of words has the maximum word size and remaining words of the plurality of words are not larger than the maximum word size, and determining, using the one or more processors, whether the arrangement of the plurality of words satisfies a first criterion, the first criterion being that none of the words in the arrangement are outside the predefined shape; selecting, the one or more processors, the largest maximum word size in the first set having an arrangement of the plurality of words that satisfies the first criterion. 2. The method of claim 1 , wherein selecting the maximum word size further includes: generating a second set of maximum word sizes based on the selected maximum word size from the first set; for each maximum word size in the second set, arranging the plurality of words such that a first word of the plurality of words has the maximum word size and remaining words of the plurality of words are not larger than the maximum word size, and determining whether the arrangement of the plurality of words satisfies the first criterion; and selecting the largest maximum word size in the second set having an arrangement of the plurality of words that satisfies the first criterion, wherein the selected maximum word size is the selected maximum word size from the second set.