Building a User Interface in Atlas
In this lesson, we’ll use Builder Mode to create a fully functional and interactive map interface. By combining components like feature lists, filters, and charts, you’ll learn how to design a dynamic application that showcases real estate data.
🖼️ Setting Up the Layout
-
Add Sections
- Add a section on the left and another on the right.
- These sections will hold the components of your interface.
-
Rename Your Project
- Give your project a descriptive name, such as “Apartments in Denmark.”
📋 Adding Components
Right Section: Feature List
-
Add a Feature List
- Select the Feature List component and link it to your dataset.
- Choose a layout, such as Cards, to display the data.
-
Customize the Fields
- Add Images: Use the image field from your data table.
- Title: Replace the URL with a meaningful title.
- Metrics:
- Main Metric: Monthly rent.
- Submetric: Availability date.
-
Enable Dynamic Features
- Cross Filtering: Filters will update other components dynamically.
- Filter by Viewport: The list will adjust based on the map’s zoom level.
Left Section: Filters and Charts
-
Add Filters
- Monthly Rent Filter:
- Select a range filter for the rent field.
- Adjust the histogram to display fewer steps (e.g., 20).
- Square Meter Filter:
- Use another range filter for apartment size.
- Monthly Rent Filter:
-
Add a Chart
- Add a Pie Chart to display the distribution of apartments by the number of rooms.
- Customize colors, categories, and operations (e.g., count).
🔗 Cross Filtering
Cross filtering ensures that all components interact dynamically:
- Adjusting one filter will update the visible data in other components, the map, and the feature list.
👀 Preview Your Interface
- Click the Preview button in the top-right corner to see how the interface will look to your end users.
- Test the filters and explore how they interact with the feature list and map.
And that’s it! You’ve created a complete, interactive map interface in Atlas Builder Mode. Try experimenting with different layouts and filters, and I’ll see you in the next lesson!