Location-based semantic similarity platform
Through Jensen-Shannon divergence and interactive graphical user interface, the complexity of geolocation similarity assessment is solved, efficient evaluation and visualization of geographic regional similarity is achieved, flexible analysis tools are provided, and user insight is enhanced .
Patent Information
- Application Number
- CN202280088824.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-11-14
- Filing Date
- 2022-11-15
- Publication Date
- 2024-11-01
AI Technical Summary
The prior art is difficult to effectively evaluate and demonstrate semantic similarity between geographic locations, especially when dealing with socioeconomic and demographic variables, traditional methods cannot effectively capture the relationship between data across multiple variables, and it is difficult for users to customize similarities. degree calculation to meet specific analytical needs.
Jensen-Shannon divergence (JSD) is used to calculate the similarity between geographic regions and provide interactive tools through the graphical user interface, allowing users to select the attribute weights and visualization of interest, showing gradients from maximum to minimum similarity , supports user-defined weight adjustment and preset file storage for easier subsequent use.
It realizes efficient assessment and visualization of geographical area similarity, provides flexible analytical tools to help users explore and understand complex socioeconomic and demographic data, and enhances users' insights into location relationships.
Smart Images

Figure HDA0004941560160000011 
Figure HDA0004941560160000021 
Figure HDA0004941560160000031
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is a continuation of U.S. patent application serial number 17 / 986,822, entitled “Place-Based Semantic Similarity Platform,” filed on November 14, 2022, which claims priority to the following patent applications: (i) U.S. Provisional Application Serial Number 63 / 279,667, entitled “Place-Based Semantic Similarity Platform,” filed on November 15, 2021; and (ii) U.S. Provisional Application Serial Number 63 / 285,476, entitled “Place-Based Semantic Similarity Platform,” filed on December 2, 2021, each of which is incorporated herein by reference in its entirety. Technical Field
[0003] The disclosed implementations relate generally to data visualization, and more particularly to systems, methods, and user interfaces that provide location-based semantic similarity. Background Art
[0004] Similarity between objects is defined intuitively. Trees are similar to shrubs because they are both plants. However, trees are not similar to apartment buildings, even though height is often used to describe both. Understanding why things are similar is inherently complex and nuanced. For example, researchers have studied the concept of similarity with the goal of breaking it down into features and how people each understand and assess similarity.
[0005] While comparisons between objects like trees, shrubs, and apartment buildings may seem like obvious and intuitive assessments, identifying similarities is not so easy when dealing with various socio-demographic characteristics like race, age, and income. It also depends on the context and what is important to the individual interpreting the similarity. Which area of the United States is most similar to San Francisco in terms of these characteristics, and how similar? Which neighborhoods in Chicago are most similar to the Bronx, NY in terms of racial composition?
[0006] What other locations are like a neighborhood? How? Why? At the heart of many spatial analyses is the search for similarities or dissimilarities between locations. Discovering patterns and interpreting similarities is a complex process based both on spatial properties and on the semantics or meanings assigned to places. Human conceptualizations of location similarity are multifaceted and cannot be captured by simple assessments of single numeric attributes such as population density or median income. Yet, these quantifiable attributes are fundamental to an initial understanding of meaning-making.
[0007] One difficulty with using socioeconomic and demographic variables to measure similarity is the sheer volume and variety of available data. In traditional demographic work, researchers can pick a few simple variables such as median income or age and use them as independent variables in their statistics to identify correlations. Sometimes researchers look at one attribute at a time by comparing all possible geographic locations to see if the values are higher or lower among those locations (e.g., census tract A has 10% more people than census tract B). However, none of these approaches use relationships in the data across potentially large groupings of demographic variables. Summary of the invention
[0008] Therefore, there is a need for systems, methods, and interfaces that facilitate combining similarity measurement and spatial analysis to provide information simplification and / or semantic generalization. The techniques described herein help bring users closer to actionable insights. These techniques can be used in geospatial queries to determine similarity between regions, where participants can manipulate the individual weights of various attributes describing these locations. Some implementations use context and additional place-specific parameters to calculate similarity. Some implementations provide geospatial analysis tools that exploit semantic nuances to obtain place similarity.
[0009] Some implementations use statistical methods to determine similarities between geographic areas (e.g., areas within the United States). Some implementations provide a data hub, which makes it easy for users to incorporate this type of similarity measurement in their analysis. The framework according to the technology described herein makes it easy for people to process various attributes from the U.S. Census to identify more or less similar locations using attributes of interest to users. Some implementations use calculations based on the Jensen-Shannon divergence (JSD) to determine similarity and / or present the results in an easy-to-read map. Some implementations show details on demand in tooltips. According to some implementations, the use of JSD to evaluate similarity for data analysis is described in detail below.
[0010] According to some implementations, a method for visual analysis of a data set is provided herein. The method is performed at a computer system. A user selects a data source. In response, the system presents a graphical user interface for analyzing data in the data source. The data includes geospatial data points. The system also presents a map data visualization within the graphical user interface. The map data visualization includes multiple geographic regions. Each geographic region corresponds to one or more corresponding geospatial data points. In response to receiving a first user input selecting one or more geographic regions of a first group in a plurality of geographic regions, the system uses one or more statistical techniques to calculate the similarity between the one or more geographic regions of the first group and the one or more geographic regions of the second group in the plurality of geographic regions based on a set of attributes (e.g., data fields from a data source). Then, the system updates and displays the map data visualization according to the calculated similarity.
[0011] In some implementations, the set of attributes includes one or more socioeconomic variables, demographic variables, and geographic variables.
[0012] In some implementations, updating the map data visualization includes emphasizing or deemphasizing at least one geographic region of the second set of one or more geographic regions.
[0013] In some implementations, the method further includes, in response to receiving a second user input selecting coordinates of the search polygon on the map data visualization, defining a second one or more regions based on the coordinates.
[0014] In some implementations, the method also includes comparing coordinates of the search polygon to corresponding one or more geospatial data points for each of the plurality of geographic regions to identify a second set of one or more geographic regions.
[0015] In some implementations, each attribute in the set of attributes is associated with a corresponding weight in a plurality of weights, and the method further includes calculating the similarity based on the plurality of weights.
[0016] In some implementations, the method further includes providing one or more affordances, each affordance corresponding to a respective attribute in a set of attributes.
[0017] In some implementations, the method further includes, in response to receiving a second user input selecting a first enable representation from one or more enable representations: (i) adjusting a first weight corresponding to a first attribute of the first enable representation to obtain an updated set of weights; (ii) calculating an updated similarity between one or more geographic regions of the first group and one or more geographic regions of the second group based on the updated set of weights using one or more statistical techniques; and (iii) updating and displaying a map data visualization based on the updated similarity.
[0018] In some implementations, the method further includes providing a store affordance for storing the updated set of weights. In response to the user selecting the store affordance, the method stores the updated set of weights in a preset file for use in a next session.
[0019] In some implementations, the method further includes: for a next session, obtaining a preset file, and using the updated weight set to calculate similarities between the one or more geographic areas of the first group and the one or more geographic areas of the second group.
[0020] In some implementations, the map data visualization is a hierarchical map, and updating and displaying the map data visualization according to the calculated similarities includes displaying a gradient from a maximum to a minimum similarity.
[0021] In some implementations, the method further includes: (i) providing a first enable representation for selecting a hierarchical statistical map and a second enable representation for selecting a most-least map; (ii) in response to user selection of the first enable representation, displaying a gradient from maximum to minimum similarity; and (iii) in response to user selection of the second enable representation, displaying a maximum similarity area and a minimum similarity area.
[0022] In some implementations, the method further includes: (i) providing multiple enable representations, each enable representation corresponding to a corresponding maximum number of regions; and (ii) in response to a user selection of an enable representation from the multiple enable representations, displaying a maximum similarity region and a minimum similarity region among one or more regions of the second group based on the maximum number of regions corresponding to the enable representation.
[0023] In some implementations, the method further includes: (i) providing a plurality of affordances, each affordance corresponding to a respective subset of sub-regions in the plurality of sub-regions; and (ii) in response to a user selection of an affordance in the plurality of affordances, (a) ceasing to present the map data visualization and (b) presenting a replacement map data visualization within the graphical user interface. The replacement map data visualization includes the subset of sub-regions corresponding to the affordance.
[0024] In some implementations, the graphical user interface includes a first portion and a second portion, and the method further includes: (i) displaying a map data visualization in the first portion; and (ii) displaying a summary of similarities between the first one or more geographic areas and the second one or more geographic areas in the second portion.
[0025] In some implementations, each geographic region corresponds to a respective census tract.
[0026] In some implementations, calculating the similarity includes calculating a semantic similarity matrix for a set of attributes for one or more geographic regions of a first group and one or more geographic regions of a second group among the plurality of geographic regions.
[0027] In some implementations, calculating the similarity includes calculating Jensen-Shannon divergence (JSD) between pairs of geographic regions in the first set of one or more geographic regions and the second set of one or more geographic regions.
[0028] In another aspect, an electronic device includes one or more processors, a memory, a display, and one or more programs stored in the memory. These programs are configured to be executed by the one or more processors and are configured to perform any of the methods described herein.
[0029] In another aspect, a non-transitory computer-readable storage medium stores one or more programs configured for execution by a computing device having one or more processors, a memory, and a display. The one or more programs are configured to perform any of the methods described herein.
[0030] Thus, disclosed herein are methods, systems, and graphical user interfaces that allow a user to efficiently explore data displayed within a data visualization application.
[0031] Both the foregoing general description and the following detailed description are exemplary and explanatory and are intended to provide further explanation of the invention as claimed. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] To better understand the aforementioned systems, methods, and graphical user interfaces, as well as additional systems, methods, and graphical user interfaces that provide data visualization analysis, the following detailed description should be referenced in conjunction with the following figures, wherein like reference numerals refer to corresponding parts throughout the figures.
[0033] Figure 1A-1 and Figure 1A-2 A map showing the relative percentages of different ethnicities in a particular location using similarity comparison is shown.
[0034] Figure 1B is an example of a map showing similarity using multiple attributes using Jensen-Shannon distance according to some implementations.
[0035] Figure 1C , Figure 1E , Figure 1F and Figure 1G An example of a graphical user interface displaying a map is shown in accordance with some implementations.
[0036] Figure 1DAn exemplary graph according to some implementations is shown.
[0037] Figure 2 A graphical user interface with a help menu is shown according to some implementations.
[0038] Figure 3A , Figure 3B , Figure 4 , Figure 5 , FIG. 6A to FIG. 6C , Fig. 7A , Figure 7B , Figures 8 to 16 , Fig.17A , Fig. 17B , Fig.18 , Fig.19 , Fig. 20A , Fig. 20B and Figures 21 to 28 An example of a graphical user interface displaying a map is shown in accordance with some implementations.
[0039] Fig.29 is a block diagram of a computing device according to some implementations.
[0040] Fig.30 A schematic diagram illustrating an exemplary process for calculating similarity values according to some implementations is shown.
[0041] Fig.31 An exemplary user interface is shown in accordance with some implementations.
[0042] Fig.32A and Fig.32B Different cartographic visualizations for similarity data are shown according to some implementations.
[0043] Fig.33 An exemplary user interface is shown in accordance with some implementations.
[0044] Fig.34 A flow chart of an exemplary method for visual analysis of data is shown in accordance with some implementations.
[0045] Reference will now be made to implementations, examples of which are illustrated in the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to one of ordinary skill in the art that the present invention may be practiced without these specific details. DETAILED DESCRIPTION
[0046] Estimates suggest that more than 80% of commercial data sets contain a spatial component (e.g., street address, latitude / longitude, state or country). The close relationship between commercial data and location leads users to frequently formulate their questions and explorations around spatial patterns in the data. While many of these user queries and interactions are tied to absolute locations (e.g., “How many customers are there in California?”), a wide variety of important questions and avenues of exploration will benefit from the added flexibility in a system that is more semantically aligned with location. This doesn’t just apply to business-related questions. Many decision-making opportunities involve evaluating relationships between locations to provide context. The relationship between locations may be an answer in itself (e.g., “Which locations are like this one?”), or the relationship may be a preliminary step in a larger analytical process (e.g., which locations are like this one so that I can use these locations when evaluating a school district’s bus planning strategy). The key to this type of question is similarity. However, quantifying similarity is challenging. Locations are more than just counts of attributes, and the way people understand relationships between locations is tightly bound to the characters or semantic meanings attached to the locations.
[0047] Meaning-making about the world is often contextual. The relative importance of a location is based primarily on how it compares to other locations. Contextual evaluations are based on what is “similar” or “different” and measures of degree of similarity or difference. These measures can be based on ordinal interpretations of visual patterns, such as which areas on a map are lighter or darker, or quantitative measures based on index values representing multidimensional similarity scores.
[0048] Figure 1A-1 is a map that compares the distribution of races in geographic regions using a single similarity measure. Figure 1A-2 Shows the display with Figure 1A-1 100. If a user wants to know how similar different places on the map are, the user must combine each of these four maps in their mind and figure out which maps are most like the others. By combining each of these distributions into a single similarity measure, it is easy to see how they compare to each other, such as Figure 1A-1 shown.
[0049] Figure 1B is an example of a map 102 showing similarity using multiple attributes using Jensen-Shannon distance according to some implementations.
[0050] Even with a well-designed map that visualizes patterns in attributes (e.g., data fields from a chosen data source), assessing similarity between locations can be difficult. Using a single attribute (e.g., the percentage of the population that is black or African American, such as Figure 1A-2), a user can look for similarities between shading on the map as an indicator of similarity. For example, all census tracts shown in dark green can be considered similar. However, a reader's understanding of tracts and their relationships often depends on many attributes, and it is virtually impossible to accurately identify similarities between locations when the reader must visually interpret patterns and then mentally aggregate them to assess similarity. While methods exist for visualizing a small number of variables on a single map (e.g., a bivariate or trivariate choropleth map), the complexity of a large number of variables requires the techniques described herein.
[0051] There are many intertwined challenges in helping people identify and easily explore similarities across multiple variables of interest. In addition to the general challenges of collecting appropriate data and calculating similarities, there is also the broader problem of modeling similarities in a way that works and allows people to customize the calculations based on their intentions. Spatial similarity as a concept is highly personalized and is influenced by what the user can specifically measure, what the user perceives about the location, and how the user rates the importance of the various elements used to assess similarity. Even for calculations using the same general inputs (e.g., the attributes described herein), individuals may weight some of these inputs as more or less important than others when considering similarity.
[0052] Some implementations use models for spatial and attribute similarity. This has implications for possible modifications to the query itself (e.g., Figure 1A-1 and Figure 1A-2 Improved recommendations are achieved by using a location-similarity matrix to recommend other areas or potential candidates with similar location characteristics (e.g., similar socioeconomic demographics or interests). These areas do not necessarily have to be near the original query location.
[0053] Some implementations provide a tool consisting of two components: a front-end interactive web platform and a back-end data repository. A set of PHP web handlers pass data between these two components based on requests from web clients (e.g., when a user selects a census tract with a mouse). In some implementations, the front end is an interactive web map built using the Leaflet framework and a series of DOM controls built using the D3 and JQuery frameworks. In some implementations, the data is stored in a spatially enabled (PostGIS) PostGreSQL database and is linked to census tract geometries using unique census geographic identifiers. In some implementations, geographic boundaries (e.g., boundaries of census tracts) are stored as GeoJSON and layered onto a Leaflet base map when the page loads.
[0054] Example data
[0055] The techniques described herein can be used to analyze any type of socioeconomic and demographic data. For illustrative purposes, this section describes the application of these techniques to census tract data from the 2019 American Community Survey (ACS). This includes a 5-year estimate of California, USA, at the census tract level (sometimes referred to as census tract or ACS data). The granularity of the census tract is the logical resolution used for analysis. Some implementations provide tools for visual analysis of data. The architecture of the tool is independent of the region, allowing these areas to be swapped out when needed to replace regions with higher (e.g., census block groups) or lower (e.g., county) resolution. ACS data includes five dimensions: age, race, income, education, and commuting patterns. Each of these dimensions is a distribution across a set of separate socioeconomic or demographic attributes. For example, in the age dimension, there is an estimate of the number of people aged 0 to 10, 10 to 15, 15 to 25, etc., for each census tract in California. To compare values across regions, some implementations normalize all attributes within a dimension, resulting in a numeric vector summing to one for each dimension in each census tract. The exclusive and complementary nature of ACS data means that normalization is acceptable.
[0056] Some implementations calculate the Euclidean distance between all pairs of census tract geometries in the data. This allows the user to control the influence of proximity when identifying similar areas. Population density is calculated for each census tract, as well as a Boolean value indicating whether the census tract is within 20 miles of the coast. External data can be incorporated within the tool to allow for more refined filtering.
[0057] Exemplary Methods for Defining Similarity
[0058] Given a set of ACS data divided into five dimensions, each containing a normalized vector of binned socioeconomic or demographic values, some implementations compute pairwise similarities between all census tracts separately for each dimension. To achieve this, some implementations compute Jensen-Shannon distance (JSD). JSD is a method for measuring the dissimilarity between two probability distributions. It uses a relative entropy approach to two distributions based on Kullback-Leibler divergence (KLD) (Equation 2), but it differs from KLD in that it is symmetric and the resulting measurement is limited. JSD has been successfully used to assess similarity for a wide variety of applications ranging from predicting aesthetic rankings to distinguishing queries for health content. In the field of geography, JSD has been used for tasks such as distinguishing places of interest and assessing land use patterns.
[0059] The JSD equation is shown in Equation 1 below, where CT A and CT B is the normalized vector of the same census dimension (e.g., racial distribution) for two different census tracts, and x is a single attribute value in the dimension vector X.
[0060] JSD(CT A ||CT B )=sqrt(D(CT A ||M)+D(CT B ||M)) / 2 (1)
[0061]
[0062] The result of the analysis is a set of singular values that quantify the similarity between two census tracts based on the five distributions of the ACS data. This process is repeated for all pairs of census tracts, resulting in five similarity matrices, one for each ACS dimension. Although JSD values range from 0 (identical) to 1 (complete dissimilarity), the actual range of JSD values depends on the underlying input distribution. These ranges vary quite a bit between dimensions, with some reporting a maximum JSD of 0.5 and others reporting 0.9. Since the ultimate goal is to determine a single aggregate value that visually represents the similarity between regions, some implementations combine the JSD values of the various dimensions to represent a single census tract. Some implementations simply average these values. But the difference in JSD ranges means that even an equally weighted approach will weight some dimensions more than others. To mitigate this problem, some implementations first normalize the JSD values for each census tract compared to all other tracts. This generates a range of 0 to 1 for all dimensions in all tracts. Finally, some implementations convert the dissimilarity values into similarities by subtracting each JSD value from one. These five matrices of normalized JSD values are used to update the data visualization.
[0063] In some implementations, the next step involves merging the JSD values for each of these independent ACS dimensions into a single similarity value for each pair of census tracts. The single value is the basis for the user to assess similarity in tabular form and is also converted into color density for visualization. Fig.30 Schematic diagram of an exemplary process 3000 for calculating similarity values according to some implementations is shown. The process starts with an ACS distribution and calculates a single similarity value using two sample census tracts A and B. Some implementations calculate the similarity value for two tracts (e.g., Fig.30 3004) between census tracts A and B in a pair of census tracts. Each census tract includes data 3002 for multiple dimensions (e.g., data for five dimensions, such as age, race, income, education, and commuting pattern). Each dimension of the data is a distribution of census values. Some implementations calculate the JSD 3004 between each census tract dimension separately, then multiply each JSD by a corresponding user weight 3006 (sometimes referred to as a user-defined weight), and finally sum (3008) the products to produce a single similarity value 3010 for a pair of census tracts.
[0064] Rather than averaging dimension-specific JSD values, some implementations instead allow users to determine the impact of each dimension on the overall similarity of a zone. Some implementations provide a range of user-defined weights as sliders in a graphical user interface. Each dimension is assigned a weight, and all weights add up to 1. The exposure of these weights invites users to adjust the model to best meet their analysis requirements. Users have different preferences, goals, and exploration objectives, and the opportunity for individuals or groups to dominate the similarity assessment process empowers users, thereby enhancing the usability of the tool.
[0065] Exemplary User Interface
[0066] Fig.31 An exemplary user interface 3100 is shown according to some implementations. The exemplary user interface includes a map data visualization 3102. The example shows the similarity of U.S. census tracts compared to a selected location labeled (A). Details about the similarity are included in a tool tip (B). The user interface allows a user to weight specific features of interest (C) to customize the calculation of similarity based on the user's questions and interests, provides multiple map types for visualization (D), and allows a user to save and reuse preset files (E) with specific mixer settings and filters. An interactive text description (F) and a sortable overview table (G) are also provided.
[0067] In some implementations, upon launching the data visualization application, a map (e.g., a map showing census tracts in California) is presented to the user in a uniform color (e.g., in a uniform gray). Map labels showing blocks, towns, and cities (depending on the zoom level) are overlaid on top of the census tracts as a reference layer. A vertical panel on the left side of the screen allows the user to select a census tract by clicking on the map. When a census tract is selected, the identifier of the census tract is sent to the database via a web handler to return a JSON response—pre-computed five-dimensional JSD similarity values. Each of the five JSD values for each census tract is then multiplied by a normalized user-defined weight (uniformly weighted at page load) and summed to produce a single similarity value for each census tract.
[0068] Example Map Panel
[0069] In some implementations, the similarity values are then converted to a map using an equally spaced graduated statistical color scheme and applied to the census tract layer on the map. In some implementations, darker colors or shades (e.g., darker blue values) indicate higher similarity. In some implementations, tooltip functionality allows a user to hover over each census tract on the map and receive information containing the census tract identifier, county name, similarity ranking, and similarity match percentage with the selected census tract. In some implementations, within the settings menu, the user has the option to enable additional tooltip details, which adds similarity values for each of the various dimensions to the tooltip.
[0070] Some implementations provide a map panel that allows the user to select a census tract of interest. Some implementations respond by presenting cartographically and / or tabularly the similarity between the selected tract (or tracts) and all other tracts within the dataset. Some implementations also provide the ability to interact and explore the map by zooming and panning.
[0071] Fig. 20A An exemplary user interface 2000 providing draw polygon functionality according to some implementations is shown. In some implementations, the draw polygon tool allows a user to sub-select a set of census tracts for analysis. A user can select the draw polygon tool, which enables manual drawing of areas on a map to restrict similarity evaluation to a specified subset of interest, such as Fig. 20B In some implementations, the user can also print a map from the map panel, change the base map from standard map tiles to satellite imagery, and toggle back and forth between map labels, the county boundary layer, and the primary census tract layer.
[0072] Example table panel
[0073] In some implementations, as the map updates to depict regional similarities, another panel is presented below the map. Additional panels provide descriptive content related to similarity analysis. In some implementations, the descriptive text in the panel presents the number of highly similar census tracts, the number of counties in which they are found, and / or the number of similar census tracts in the same county as the selection. The text is embedded with a hyperlink, allowing the user to zoom to one or more top-level counties of the selected census tract. In addition, a table listing the top five most similar census tracts, their similarity match percentages, county names, and the distance and direction from the selected census tract is shown. In some implementations, the user can click on a row in the table to highlight the area on the map or zoom to the selected area by selecting a magnifying glass icon. In the table, click on the column header for similarity to switch back and forth between descending and ascending order, allowing the user to easily identify the top-most and smallest similar areas.
[0074] Example side panel
[0075] In some implementations, once a census tract is selected, a side panel also appears, providing a series of interactive tools to enable data exploration and analysis. In some implementations, the side panel includes a series of widgets, including mixers, map types, presets, location bookmarks, and / or geographic filters.
[0076] Example Mixer Widget
[0077] In some implementations, the mixer provides interactive functionality by which a user can adjust the importance (weight) of a socioeconomic or demographic dimension in its overall contribution to the similarity value. These weights are represented by sliders that allow the user to increase the weight by moving the slider to the right and decrease the weight by moving the slider to the left. In some implementations, by default, the mixer is uniformly weighted to an importance value of 50. As the user adjusts the mixer, the color density of the dimension label changes, the numerical representation of the weight changes (between 0 and 100), and the tooltip associated with the mixer updates to inform the user of the current impact of the adjustment on the overall similarity model.
[0078] In some implementations, at least some of the mixers in the widget are not socioeconomic or demographic dimensions. For example, the first five mixers in the widget may be socioeconomic and demographic dimensions of census data, but the last mixer (e.g., the proximity mixer) is not. The proximity mixer adjusts the weight of the Euclidean distance between two census tracts in the mixer. By increasing the weight of proximity in the mixer, those census tracts that are physically closer to the selected census tract are considered more similar than those that are farther away. Adjusting the value of the proximity mixer to 0 completely eliminates the effect of geographic proximity.
[0079] Once the user has identified a combination of weights that is useful for analysis, the user can choose to save the mix to a new preset. This updates the preset widget, generates a preset XML file for download, and presents a unique uniform resource locator (URL) for sharing with collaborators.
[0080] Example map type widget
[0081] Fig.32A and Fig.32B Different cartographic visualizations 3200 and 3202 are shown, respectively, for the same underlying similarity data according to some implementations. By default, some implementations use a gradient-based choropleth map to present census tract similarity ( Fig.32A ). This representation is useful in many cases, but may not be the most appropriate cartographic visualization in other cases. For this reason, some implementations provide alternative map type options, such as maximum / minimum ( Fig.32B ). This option simplifies the map, presenting each area's similarity as one of three options: highly similar in a first color (e.g., blue), highly dissimilar in a second color (e.g., red), or somewhere in between in a third color (e.g., gray). In some implementations, the user can further refine what is meant by "highly" by selecting the top 1000, 100, or 10 census tracts that are similar / dissimilar to the selected area. This method of mapping is particularly useful for those users who prefer Boolean (similar or dissimilar) visualizations rather than gradients.
[0082] Example Preset Widgets
[0083] In some implementations, when a user has created a mix by adjusting sliders in the mixer widget, the user can choose to annotate the mix and save it as a preset, which appears as a button in the widget. Multiple presets can be created to represent various scenarios and enable different types of analysis. These presets are also saved to a preset XML file and stored on the server with a unique identifier, which can also be appended to a URL to share the preset with collaborators. If the user has already created or shared a preset via a preset XML file in a previous session, they can also upload the file via the settings menu, automatically adding buttons to the widget to adjust the mixer.
[0084] Example Location Bookmark Widget
[0085] In some implementations, the location bookmark widget stores locations of interest as buttons. Clicking a button zooms the map to the specified area. In some implementations, three location bookmarks are added to the tool by default, but additional bookmarks can be added by uploading a preset XML file containing labels, geographic coordinates, and zoom levels.
[0086] Example Geofilter Widget
[0087] Fig.33 An exemplary user interface 3300 according to some implementations is shown. In some implementations, the geofilter widget allows a user to filter existing census tracts by additional attributes. For example, a user may decide to explore only census tracts with a population density less than 100 people per square mile (e.g., Fig.33 ), or explore only those census tracts that are less than 20 km from the coast. By default, some implementations include a sample set of additional variables, such as those mentioned. In some implementations, users can write their own SQL-type queries against this data, add them to a preset XML file, and upload them to the tool. When the file loads, only those census tracts that meet the criteria specified in the query are displayed on the map. This is a powerful feature that allows users to limit the data by external attribute filtering before delving into regional exploration and similarity analysis.
[0088] As described above, some implementations group socioeconomic and demographic variables into dimensions of similar characteristics, calculate similarity metrics, and / or allow users to weight these dimensions to customize how similarity is calculated. This allows users to have a lot of flexibility in defining similarity. Some implementations allow users to use one dimension, which is useful when users only want to know similarity based on one dimension (e.g., age distribution). Some implementations allow users to use a combination of dimensions, which can be useful for understanding multiple dimensions (e.g., age and income) while allowing users to weight dimensions differently (e.g., if users want income to be more important when calculating similarity, they can adjust the weights accordingly).
[0089] Some implementations use the Jensen-Shannon divergence (JSD), which is a statistical method for measuring the similarity / dissimilarity between two probability distributions. JSD is itself based on the Kullback-Leibler divergence—a method commonly used to measure information gain in inferential statistical models. JSD is more suitable for symmetric applications. This is particularly important when the application is symmetric because it is conceptually easier to understand the similarity when comparing the values of any two census tracts, which are the same in both directions (the similarity of tract A->tract B is equal to tract B->tract A). Given that the variables in the distribution are all normalized across all attributes so that the values for each tract add up to 1, the JSD similarity value will always be between 0 (exactly the same distribution) and 1 (complete dissimilarity).
[0090] To illustrate, consider Figure 1C The example shown in . Figure 1C The image 104 in FIG. 1 shows census tracts in the Los Angeles area. In the example, three census tracts are selected. According to some implementations, Figure 1D The distribution of the race variable is shown in graph 106 shown in FIG. Visually, as one might expect, given spatial proximity, regions 1 and 2 are more similar than regions 1 and 3 (the distributions in the graph appear more similar). The JSD method results in a similarity value of 0.1359 between regions 1 and 2, indicating that they are more similar, and a similarity value of 0.7197 between regions 1 and 3, indicating that they are less similar. JSD is a measure of dissimilarity, so a measure of 0 is identical and 1 is completely dissimilar.
[0091] Using the method, some implementations then calculate the JSD of any characteristic between all possible pairs of locations, such as shown below based on census tracts. Some implementations use different colors or brightness levels to highlight the tracts selected by the user (e.g., brighter colors). For example, according to some implementations, Figure 1EThe brighter region in the map 108 shown in is the selected region, and each of the other regions shows a relative similarity to the selected location.
[0092] Some implementations show JSD across multiple categories of attributes, and allow users to weight their importance when evaluating similarity. In map 108, tooltips show similarity measurements for dimensions race, age, income, education, and commuting mode. Some implementations show similarity values separately in tooltips. Some implementations allow users to combine similarity measurements to customize the importance of different attributes for specific issues of interest to them. This introduces new challenges because there are multiple dimensions to be used to evaluate similarity. Some implementations handle this problem by using a set of user-defined weights. Depending on tasks, expertise, and topics of interest, different users may want to weight dimensions differently within the similarity model. To this end, some implementations calculate similarity as follows (it should be noted that all weights (w) add up to 1):
[0093] Sim=JSD Race *w 1 +JSD Age *w 2 +JSD Income *w 3 +JSD Education *w 4 +JSD...*w N ...
[0094] For example, Figure 1F and Figure 1G Two different maps 110 and 112 are shown respectively showing similarity using different weights to the dimensions according to some implementations. Map 110 is weighing race, income, and education equally. Map 112 shows race as the only dimension used in the similarity calculation.
[0095] Figure 2 A graphical user interface 200 is shown with a help menu 202 illustrating various ways in which a user may adjust mixer weights, upload preset files, constrain an area of interest, and / or change map type, according to some implementations.
[0096] like Figure 3A and Figure 3BAs shown, some implementations show a map in a graphical user interface (e.g., interfaces 300 and 302) and allow a user to select a location and / or region on the map (e.g., to select a particular census tract). In the description herein, data visualization of census tracts (sometimes referred to as census tracts) is used for illustrative purposes. It should be understood that these concepts can be applied to any type of statistical data, geographic information, and / or demographic information.
[0097] In some implementations, the user interface is automatically updated to show all other census tracts similar to the selected census tract, an example of which is shown in Figure 4 400 in a graphical user interface 402. Some implementations display a legend 402 showing the regions that are least to most similar to the region selected by the user. Similarity can be measured based on various demographic and economic dimensions.
[0098] Some implementations show these dimensions with corresponding slider indicators in a portion of a graphical user interface. Figure 5 , having a portion 502 including such affordances. Some embodiments allow a user to hover over each affordance to obtain more information about each category. According to some implementations, each slider affordance can be adjusted individually. Some implementations display accompanying text showing details of the similarity, including how many regions are similar to the selected region, an example of which is shown in FIG. FIG. 6A to FIG. 6C In the graphical user interface 600, 602 and 604 of the parts and in Fig. 7A and Figure 7B Portions of graphical user interfaces 700 and 702 are shown in FIG.
[0099] Some implementations display a table (e.g., Figure 8 800 in the graphical user interface 800) that shows the top ranked similar regions. Each region can be selected individually. Some implementations provide icons for zooming in on each region or area (e.g., Fig. 9 Some implementations also allow the user to sort based on similarity percentage (e.g., sorting the list in descending order of similarity allows the user to see the least similar regions or the most dissimilar regions), an example of which is shown in Fig.10 and Fig.11 Some implementations provide multiple map cartographic representations for displaying similarities. An example of this is shown in FIG. Fig.12 , which shows two options 1202 in the graphical user interface 1200. Some implementations support hierarchical map types where the gradient is shown from largest to smallest (e.g., Fig.12 Some implementations support map types where two color palettes are used to show data as maximum or minimum (e.g., maximum 100, minimum 10, or maximum 1000) (e.g., in Fig.13 , Fig.14 and Fig.15 ). Some implementations show different color coding for maximum similarity (eg, red) and minimum similarity (eg, blue).
[0100] like Fig.16 As shown in the graphical user interface 1600 in FIG. 1 , some implementations show predetermined locations to be selected from. Some implementations allow the user to add locations. Some implementations allow the user to draw a polygon on the map, an example of which is shown in FIG. Fig.17A , the graphical user interface shows an affordance 1702 that allows a user to draw a polygon. When the user selects an area by drawing a polygon (e.g., by selecting different locations on a map), similarities for the particular area are shown (e.g., showing similarity zones). According to some implementations, Fig. 17B An exemplary polygon 1706 is shown in graphical user interface 1704 shown in . Some implementations allow data to be exported (e.g., by clicking on affordance 1708) so that the data can be analyzed outside the interface. Fig.18 18 shows a graphical user interface 1800 updated after a user selects an area by drawing a polygon (as described above), according to some implementations. Fig.19 As shown in graphical user interface example 1900 in FIG. 1 , some implementations provide an affordance 1902 for allowing a user to print a map after making adjustments.
[0101] Some implementations provide "presets" so that the user can constrain values (e.g., based on values in an external document) rather than manually changing the mixer (e.g., by adjusting slider affordances to select values for individual categories), examples of which are described in Fig.21 , Fig. 22 and Fig.23 In some implementations, in the graphical user interface 2100 (e.g., portion 2102), 2200, and 2300. Fig.24 An exemplary XML file 2400 is shown in FIG. 2 for illustration. The example shows a specified location name and density parameter (e.g., a population density of less than 100 people per square mile). Some implementations allow a user to upload a preset file, an example of which is shown in FIG. Fig.25, where a user has uploaded a preset file 2502. Some implementations allow the user to share external files using a URL (e.g., URL 2504 for sharing). According to some implementations, when an external file is uploaded, the display is automatically updated to reflect the values in the preset file. According to some implementations, in Fig.26 An exemplary update is shown in graphical user interface 2600 in . Some implementations show multiple presets for the user to select from. Some implementations automatically update the mixer (for different categories of values) based on the selected preset. Some implementations allow the user to enable additional tooltip details, examples of which are shown in Fig. 27 and Fig.28 The graphical user interfaces 2700 and 2800 are shown in FIG.
[0102] Fig.29 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 2900 . 291 ... In some implementations, the touch-sensitive surface 2914 is configured to detect various swipe gestures (e.g., continuous gestures in the vertical and / or horizontal directions) and / or other gestures (e.g., single click / double click). In a computing device with a touch-sensitive display 2914, a physical keyboard is optional (e.g., a soft keyboard can be displayed when keyboard input is required). The user interface 2910 also includes an audio output device 2918, such as a speaker or an audio output connection connected to a speaker, earpiece, or headphones. In addition, some computing devices 2900 use microphones and speech recognition to supplement or replace keyboards. Optionally, the computing device 2900 includes an audio input device 2920 (e.g., a microphone) for capturing audio (e.g., voice from a user).
[0103] Memory 2906 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM, or other random access solid-state memory devices; and may include non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. In some implementations, memory 2906 includes one or more storage devices located away from processor 2902. Memory 2906 (or alternatively, a non-volatile memory device within memory 2906) includes a non-transitory computer-readable storage medium. In some implementations, memory 2906 or a computer-readable storage medium of memory 2906 stores the following programs, modules, and data structures, or a subset or superset thereof:
[0104] Operating system 2922, which includes programs for handling various basic system services and for performing hardware-related tasks;
[0105] A communication module 2924 for connecting the computing device 2900 to other computers and devices via one or more communication network interfaces 2904 (wired or wireless) such as the Internet, other wide area networks, local area networks, metropolitan area networks, etc.;
[0106] A web browser 2926 (or other application capable of displaying web pages), which enables a user to communicate with a remote computer or device over a network;
[0107] An optional audio input module 2928 (e.g., a microphone module) for processing audio captured by the audio input device 2920. The captured audio can be sent to a remote server and / or processed by an application (e.g., a data visualization application 2930) executing on the computing device 2900;
[0108] Data visualization application 2930 for generating data visualizations and related features. Application 2930 includes a graphical user interface 2932 for a user to construct a visual graphic. For example, a user selects one or more data sources 2940 (which may be stored on computing device 2900 or stored remotely), selects data fields from the data sources, and uses the selected fields to define a visual graphic; and
[0109] Zero or more databases or data sources 2940 (e.g., a first data source 2940-1 and a second data source 2940-2) that are used by the data visualization application 2930. In some implementations, the data sources are stored as spreadsheet files, CSV files, text files, JSON files, XML files, or flat files, or in a relational database.
[0110] In some implementations, the data visualization application 2930 includes a data visualization generation module 2934 that receives user input (e.g., visual specification 2936) and generates a corresponding visual graphic. The data visualization application 2930 then displays the generated visual graphic in a user interface 2932. In some implementations, the data visualization application 2930 is executed as a standalone application (e.g., a desktop application). In some implementations, the data visualization application 2930 is executed within a web browser 2926 or another application (e.g., a server-based application) that uses a web page provided by a web server.
[0111] In some implementations, the information provided by the user (eg, user input) is stored as the visual specification 2936. In some implementations, the visual specification 2936 includes a previous natural language command received from the user or an attribute specified by the user through a natural language command.
[0112] In some implementations, the data visualization application 2930 includes a language processing module 2938 for processing (e.g., interpreting) commands provided by a user of the computing device. In some implementations, the commands are natural language commands (e.g., captured by the audio input device 2920). In some implementations, the language processing module 2938 includes sub-modules, such as an auto-completion module, a pragmatics module, and an ambiguity module, each of which is discussed in more detail below.
[0113] In some implementations, the memory 2906 stores the metrics and / or scores determined by the language processing module 2938. In addition, the memory 2906 can store thresholds and other criteria that are compared to the metrics and / or scores determined by the language processing module 2938. For example, the language processing module 2938 can determine a relevance metric (discussed in detail below) for the analyzed words / phrases of the received command. The language processing module 2938 can then compare the relevance metric to the threshold values stored in the memory 2906.
[0114] According to some implementations, refer to Fig.34 Details of the various data structures and modules of computing device 2900 are further described.
[0115] Each of the executable modules, applications or program sets identified above can be stored in one or more memory devices in the previously mentioned memory devices, and corresponds to an instruction set for performing the above functions. The modules or programs (i.e., instruction sets) identified above do not need to be implemented as separate software programs, programs or modules, and therefore various subsets of these modules can be combined or otherwise rearranged in various implementations. In some implementations, memory 2906 stores a subset of the modules and data structures identified above. In addition, memory 2906 can store additional modules or data structures not described above.
[0116] although Fig.29 Computing device 2900 is shown, but Fig.29 It is intended more as a functional description of various features that may be present rather than as a schematic diagram of the architecture of the implementations described herein. In practice, and as recognized by one of ordinary skill in the art, items shown separately may be combined, and some items may be separated.
[0117] Fig.34 A flow chart of an exemplary method 3400 for visual analysis of data according to some implementations is shown. The method 3400 is performed by a computing device 2900 using one or more modules in a memory 2906. A user selects a data source (e.g., data source 2940-1). The computing device 2900 receives (3402) a user selection of a data source (e.g., data source 2940-1) (e.g., via a user selection of a user interface 2910). In response, the computing device 2900 (e.g., a data visualization generation module 2934) presents (3404) a graphical user interface (e.g., a graphical user interface 2932, various examples of which are described above) for analyzing data in the data source. The data includes geospatial data points. The computing device 2900 also presents (3406) a map data visualization within the graphical user interface (e.g., a map data visualization 3102 within the graphical user interface 3100). The map data visualization includes a plurality of geographic regions (e.g., census tracts). Each geographic region corresponds to a corresponding one or more geospatial data points.
[0118] In response to (3408) receiving a first user input selecting one or more geographic regions of a first group among multiple geographic regions, the computing device 2900 uses one or more statistical techniques to calculate (3410) similarities between one or more geographic regions of the first group among multiple geographic regions and one or more geographic regions of a second group based on a set of attributes (e.g., data fields from a selected data source).
[0119] In some implementations, a set of attributes includes one or more socioeconomic variables, demographic variables, and geographic variables. Examples of such attributes (sometimes referred to as dimensions) are described above with reference to an exemplary mixer widget. For example, a census tract may include multiple dimensions. In some implementations, each attribute in a set of attributes is associated with a corresponding weight in a plurality of weights, and the method further includes calculating similarity based on the plurality of weights. In some implementations, method 3400 further includes providing one or more affordances, each affordance corresponding to a corresponding attribute in a set of attributes. In some implementations, the method further includes, in response to receiving a second user input selecting a first affordance in one or more affordances: (i) adjusting a first weight corresponding to a first attribute corresponding to the first affordance to obtain an updated set of weights; (ii) calculating an updated similarity between the first one or more geographic regions and the second one or more geographic regions based on the updated set of weights using one or more statistical techniques; and (iii) updating and displaying (3412) a map data visualization based on the updated similarity. According to some implementations, examples of these steps are described above with reference to a mixer widget. In some implementations, method 3400 further includes: (i) providing a storage affordance for storing the updated set of weights; and (ii) in response to the user selecting the storage affordance, storing the updated set of weights in a preset file for the next session. In some implementations, method 3400 further includes: for the next session, obtaining the preset file, and using the updated set of weights to calculate the similarity between the one or more geographic regions of the first group and the one or more geographic regions of the second group. According to some implementations, examples of using preset files are described above with reference to preset widgets.
[0120] In some implementations, method 3400 further includes, in response to receiving a second user input selecting coordinates of a search polygon on the map data visualization, defining a second set of one or more regions based on the coordinates. In some implementations, the method further includes comparing the coordinates of the search polygon to corresponding geospatial data points in each of the plurality of geographic regions to identify the second set of one or more geographic regions. According to some implementations, the above reference Fig.17A , Fig. 17B , Fig. 20A and Fig. 20B Examples using a search polygon (sometimes called a draw polygon) are described.
[0121] Return to reference Fig.34, computing device 2900 updates and displays (3412) the map data visualization based on the calculated similarity. For example, data visualization generation module 2934 can update and display the map data visualization based on the similarity calculated in the previous step. In some implementations, updating the map data visualization includes highlighting or de-emphasizing at least one of the second one or more geographic regions. According to some implementations, the above reference Figure 4 Examples of such prominence or weakening are described.
[0122] In some implementations, the map data visualization includes a hierarchical map, and updating and displaying the map data visualization based on the calculated similarity includes displaying a gradient from maximum to minimum similarity. In some implementations, method 3400 also includes: (i) providing a first affordance for selecting the hierarchical map and a second affordance for selecting the max-min map; (ii) in response to a user selection of the first affordance, displaying a gradient from maximum to minimum similarity; and (iii) in response to a user selection of the second affordance, displaying a maximum similarity area and a minimum similarity area.
[0123] In some implementations, method 3400 also includes: (i) providing multiple enable representations, each enable representation corresponding to a corresponding maximum number of regions; and (ii) in response to a user selection of an enable representation from the multiple enable representations, displaying a maximum similarity region and a minimum similarity region within a second one or more regions based on the maximum number of regions corresponding to the enable representation.
[0124] In some implementations, method 3400 further includes: (i) providing a plurality of affordances, each affordance corresponding to a respective subset of sub-regions in the plurality of sub-regions; and (ii) in response to a user selection of an affordance in the plurality of affordances, (a) ceasing to present the map data visualization and (b) presenting within the graphical user interface an alternate map data visualization. The alternate map data visualization includes the subset of sub-regions corresponding to the affordance.
[0125] In some implementations, the graphical user interface includes a first portion and a second portion. The method 3400 also includes: displaying a map data visualization in the first portion; and displaying a summary of similarities between the first one or more geographic areas and the second one or more geographic areas in the second portion. For example, in Fig.31 , the graphical user interface 3100 includes a first portion for showing a map data visualization 3102 and a second portion labeled G for showing an overview.
[0126] In some implementations, each geographic region corresponds to a respective census tract.
[0127] In some implementations, calculating the similarity includes calculating a semantic similarity matrix for the first one or more geographic regions and the second one or more geographic regions of the plurality of geographic regions with respect to the set of attributes.
[0128] In some implementations, calculating the similarity includes calculating Jensen-Shannon divergence (JSD) between pairs of geographic regions in the first one or more geographic regions and the second one or more geographic regions.
[0129] Thus, the techniques described herein support a user-driven approach for determining similarity of geographic regions during an analysis workflow. A user can select an arbitrary location of interest, and the system compares the socioeconomic and demographic characteristics of the region with those of all other geographic regions in a given administrative region, with the goal of identifying similar and dissimilar locations. Some implementations allow the user to adjust the parameters of the similarity model, which can be saved as a preset file for future analysis. Some implementations provide intuitive, configurable affordances for exploring location similarity to help users make relevance judgments about the geographic features they compare.
[0130] The terms used in this article for the description of the present invention are only for the purpose of describing a specific implementation, and are not intended to limit the present invention. As used in the description of the present invention and the appended claims, the singular forms of "a", "an" and "the" are intended to include plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and covers any and all possible combinations of one or more items in the associated listed items. It should also be understood that when used in this specification, the terms "include" and / or "comprise" specify the presence of stated features, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, steps, operations, elements, parts and / or their groups.
[0131] For the purpose of explanation, the foregoing description has been described with reference to specific implementations. However, the above illustrative discussion is not intended to be exhaustive or to limit the invention to the precise form disclosed. In view of the above teachings, many modifications and variations are possible. These implementations are selected and described in order to best explain the principles of the invention and its practical application, so that those skilled in the art can best utilize the invention and various implementations with various modifications suitable for the specific purpose envisioned.
Claims
1. A method for visually analyzing a data set, comprising: At a computing system having one or more processors and a memory storing one or more programs configured for execution by the one or more processors: receiving a user selection of a data source; presenting a graphical user interface for analyzing data in the data source, wherein the data includes geospatial data points; presenting a map data visualization within the graphical user interface, wherein the map data visualization includes a plurality of geographic regions, each geographic region corresponding to a respective one or more geospatial data points; as well as In response to receiving a first user input selecting a first group of one or more geographic regions of the plurality of geographic regions: calculating, using one or more statistical techniques, similarities between the first group of one or more geographic areas and a second group of one or more geographic areas of the plurality of geographic areas based on a set of data fields from the data source; as well as Based on the calculated similarity, the map data visualization is updated and displayed.
2. The method of claim 1, wherein the set of data fields includes one or more socioeconomic variables, demographic variables, and geographic variables. 3 . The method of claim 1 , wherein updating the map data visualization comprises emphasizing or deemphasizing at least one of the second one or more geographic regions.
4. The method according to claim 1, further comprising: In response to receiving a second user input selecting coordinates of a search polygon on the map data visualization: Based on the coordinates, the second one or more regions are defined.
5. The method according to claim 4, further comprising: The coordinates of the search polygon are compared to corresponding geospatial data points for each of the plurality of geographic areas to identify the second set of one or more geographic areas.
6. The method of claim 1 , wherein each data field in the set of data fields is associated with a corresponding weight in a plurality of weights, the method further comprising: Based on the multiple weights, the similarity is calculated.
7. The method according to claim 6, further comprising: One or more affordances are provided, each affordance corresponding to a respective data field in the set of data fields.
8. The method according to claim 7, further comprising: In response to receiving a second user input selecting a first affordance of the one or more affordances: adjusting a first weight corresponding to a first attribute corresponding to the first affordance to obtain an updated set of weights; calculating, using the one or more statistical techniques, an updated similarity between the first one or more geographic areas and the second one or more geographic areas based on the updated set of weights; as well as The map data visualization is updated and displayed based on the updated similarity.
9. The method according to claim 8, further comprising: providing a storage affordance for storing the updated set of weights; In response to the user selecting the storage affordance: The updated set of weights is stored in a preset file for the next session.
10. The method according to claim 9, further comprising: For the next session, the preset file is obtained, and the similarity between the one or more geographic areas of the first group and the one or more geographic areas of the second group is calculated using the updated weight set. 11 . The method of claim 1 , wherein the map data visualization comprises a hierarchical map, and wherein updating and displaying the map data visualization based on the calculated similarities comprises displaying a gradient from a maximum to a minimum similarity.
12. The method according to claim 1, further comprising: providing a first affordance for selecting a hierarchical statistical map and a second affordance for selecting a max-min map; In response to user selection of the first affordance, displaying a gradient from maximum to minimum similarity; as well as In response to user selection of the second affordance, a maximum similarity region and a minimum similarity region are displayed.
13. The method according to claim 1, further comprising: providing a plurality of affordances, each affordance corresponding to a respective maximum number of regions; as well as In response to a user selection of an affordance among the plurality of affordances, a maximum similarity region and a minimum similarity region among the second one or more regions are displayed based on a maximum number of regions corresponding to the affordance.
14. The method according to claim 1, further comprising: providing a plurality of affordances, each affordance corresponding to a respective subset of sub-regions in the plurality of sub-regions; as well as In response to a user selection of an affordance from the plurality of affordances: ceasing to render the map data visualization; and An alternative map data visualization is presented within the graphical user interface, wherein the alternative map data visualization includes a subset of sub-regions corresponding to the affordances.
15. The method of claim 1, wherein the graphical user interface comprises a first portion and a second portion, the method further comprising: displaying the map data visualization in the first portion; as well as A summary of the similarity between the first one or more geographic areas and the second one or more geographic areas is displayed in the second portion.
16. The method of claim 1, wherein each of the geographic regions corresponds to a respective census tract. 17 . The method of claim 1 , wherein calculating the similarity comprises calculating a semantic similarity matrix of the first group of one or more geographic regions and the second group of one or more geographic regions of the plurality of geographic regions for the set of data fields.
18. The method of claim 1, wherein calculating the similarity comprises calculating Jensen-Shannon divergence (JSD) between pairs of geographic regions in the first set of one or more geographic regions and the second set of one or more geographic regions.
19. A computer system for visual analysis of a data set, comprising: one or more processors; and Memory; The memory stores one or more programs configured to be executed by the one or more processors, and the one or more programs include instructions for the following operations: receiving a user selection of a data source; presenting a graphical user interface for analyzing data in the data source, wherein the data includes geospatial data points; presenting a map data visualization within the graphical user interface, wherein the map data visualization includes a plurality of geographic regions, each geographic region corresponding to a respective one or more geospatial data points; as well as In response to receiving a first user input selecting a first group of one or more geographic regions of the plurality of geographic regions: calculating, using one or more statistical techniques, similarities between the first group of one or more geographic areas and a second group of one or more geographic areas of the plurality of geographic areas based on a set of data fields from the data source; as well as Based on the calculated similarity, the map data visualization is updated and displayed.
20. A non-transitory computer-readable storage medium storing one or more programs configured for execution by a computer system having a display, one or more processors, and a memory, the one or more programs comprising instructions for: receiving a user selection of a data source; presenting a graphical user interface for analyzing data in the data source, wherein the data includes geospatial data points; presenting a map data visualization within the graphical user interface, wherein the map data visualization includes a plurality of geographic regions, each geographic region corresponding to a respective one or more geospatial data points; as well as In response to receiving a first user input selecting a first group of one or more geographic regions of the plurality of geographic regions: calculating, using one or more statistical techniques, similarities between the first group of one or more geographic areas and a second group of one or more geographic areas of the plurality of geographic areas based on a set of data fields from the data source; as well as Based on the calculated similarity, the map data visualization is updated and displayed.
