Histogram and Map Generator App

Welcome to the Histogram and Map Generator App, a state-of-the-art data visualization tool designed to generate histograms and geospatial maps from your dataset. This app is built using R’s Shiny, ggplot2, gridExtra, grid, leaflet, sf, leaflet.providers, and RColorBrewer packages. Below is a detailed guide on how to use this app:

How to Use the  App

1) Uploading Your Data

To get started, you’ll need to upload your CSV dataset. Look for the section labeled “Choose CSV File” on the left-hand side of the screen. Click the “Browse” button and navigate to your CSV file. Once you’ve selected your file, it will upload automatically.

2) Setting Up Your Histogram

Once your data is uploaded, the app will populate the dropdown menus below the file upload with the columns from your dataset.

2.1) Select the Parameter of Interest

In the “Choose the parameter of interest” dropdown, select the column from your data that you want to visualize. This parameter will be used for the x-axis of your histogram.

2.2) Choose Number of Bins

Below the column selector, you’ll find the “Choose the number of bins for the histogram” numeric input. Here, you can specify the number of bins you want your histogram to have. By default, this is set to 30 bins.

2.3) Choose Data Transformation

The app allows you to apply different transformations to your data. You can choose between ‘None’, ‘Log10’, ‘Ln’, ‘Inverse’, ‘Square Root’, and ‘Cube Root’.

2.4) Choose Additional Options

You also have the option to display the mean and median of your data on the histogram. Check the boxes labeled “Show Mean” and “Show Median” if you want these lines included in your histogram.

In addition, you can decide whether to show a legend for the mean and median lines by checking the “Show Legend” box.

3) Setting Up Your Map

3.1) Select the X and Y Coordinates

In the “Choose the X coordinate” and “Choose the Y coordinate” dropdowns, select the columns from your data that represent the X and Y coordinates, respectively, for your map.

3.2) Input EPSG code

In the “EPSG code (Coordinate Reference System)” input, specify the EPSG code that corresponds to the coordinate reference system of your data.

3.3) Choose Map Type

In the “Map Type” dropdown, you can choose between different types of maps provided by ‘OpenStreetMap’, ‘Esri.WorldStreetMap’, ‘Esri.WorldTopoMap’, ‘Esri.WorldImagery’, and ‘Stamen.Toner’.

4) Statistics

Once you’ve set up your histogram and map, click the “Calculate Statistics” button. Your histogram will appear in the left panel, and your map will appear in the right panel. If you checked the “Show Statistics” box, a table containing the calculated statistics will be shown below your visualizations.

5) Downloading Your Results

Finally, you have the option to download your histogram and calculated statistics.

To download your histogram, click the “Download Histogram” button. The histogram will be downloaded as a PNG file.

To download your statistics, click the “Download Statistics” button. The statistics will be downloaded as a CSV file.

And there you have it! With these steps, you can leverage the Histogram and Map Generator App to create insightful visualizations from your data.

Note: Please ensure your dataset is appropriately formatted with numerical data and geospatial coordinates for optimal use.

14 Comments

  1. Jane

    Absolutely love this app! The interactive histogram and map features have made my geospatial analysis so much easier. Kudos to the GeoRGB team!

    Reply
    • Administrador_Marcel Abel

      Thank you so much, Jane! We’re thrilled to hear that our app has been helpful in your analysis. Your feedback means a lot to us, and we’re here if you have any questions or need support

      Reply
  2. GeoExplorer88

    I just started using this app for my research, and I’m impressed with how the colors of the samples in the map correlate with the histogram. It’s making my geospatial analysis much more intuitive and visually appealing.

    Reply
    • Administrador_Marcel Abel

      Welcome to the app, GeoExplorer88! We’re delighted to hear that the color coordination between the map and histogram is enhancing your analysis. It’s one of our favorite features designed to provide a cohesive visualization. We appreciate your encouragement and are here to support your ongoing research. Feel free to reach out with any suggestions or questions!

      Reply
  3. aashri

    I’m enjoying the app so far, but I’m having trouble with the UTM coordinate selection. Can you provide a tutorial or guide on how to use this feature?

    Reply
    • Administrador_Marcel Abel

      Hi there! We’re glad to hear that you’re enjoying the app, and we’re here to help with the UTM coordinate selection. For a detailed guide on how to use this feature, we recommend watching two videos from the GeoRGB community’s YouTube channel:

      A tutorial specifically related to the Shiny app: https://youtu.be/GeW1QrdQSNw
      A guide on ‘How to convert Lat Long to UTM’: https://youtu.be/K-OVAumHGTA

      These videos should provide you with a clear understanding of how to utilize the UTM coordinate selection in our app. If you have any further questions, please don’t hesitate to reach out!

      Reply
  4. Alfredo

    The app is fantastic, but I’d love to see more transformation options for the data. Any plans to expand this section in future updates?

    Reply
    • Administrador_Marcel Abel

      Thank you for the feedback, Alfredo! We’re always looking to enhance our features, and your suggestion for more transformation options is valuable. We’ll definitely consider this in our upcoming updates. Stay tuned!

      Reply
  5. GISguru

    I’m curious about the real benefits of using this app. We already have robust tools like QGIS available for free. What makes this application stand out or worth using in comparison?

    Reply
    • Administrador_Marcel Abel

      Great question, GISguru! While traditional tools like QGIS are indeed powerful and widely used, our “Histogram and Map Generator” app aims to offer a unique and accessible experience, especially for those looking for remote, web-based solutions. Here’s what sets us apart:

      1) Easy Accessibility: Our app is accessible from any device with an internet connection, without the need to install any specialized software.
      2) Real-Time Interactivity: Features like real-time histogram interaction and automatic statistical updates offer a dynamic user experience.
      3) Tailored for Geospatial Analysis: The app is designed specifically for geospatial data visualization, with unique functionalities like color coordination between maps and histograms.
      4) Generation of customized online applications according to the needs of customers or users.
      5) Community Support: Offered by the GeoRGB community, users can benefit from ongoing support, tutorials, and a platform dedicated to geospatial science.

      We believe that different tools cater to different needs, and our app might be the perfect fit for specific scenarios or users. We invite you to explore the app deeper and welcome any further questions or feedback you may have!

      Reply
  6. Natalie

    very neat app, the graphs look very professional. will definitely be using this in the future to help with my projects

    Reply
  7. Leo

    Great app. You should consider making a video on creating geospatial apps with R shiny.

    Reply
    • Administrador_Marcel Abel

      Thank you for your suggestion! I’m actually considering creating a course on how to build apps with Shiny, including geospatial applications, in the near future. Stay tuned!

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *