Icon

JKISeason3-28_​Finding Top Gainers in the Crypto Market

Finding Top Gainers in the Crypto Market

Challenge 28

Level: Medium

Description: As a data scientist working in finance, you are tasked with researching the current crypto market. Perform a GET request on the provided API to obtain up-to-date information, convert the data so that each token/crypto has its own row, and extract the name of the crypto, 'marketCapUSD' , and column 'changePercent24Hr' from the JSON body. With this data at hand, obtain the top 10 gainers and losers in the current crypto market and visualize them with a simple tree map. The size of each crypto should be scaled off the market cap, and its color should be determined by whether or not the percent change is positive (green) or negative (red). Hint 1: Use the Generic ECharts View for the tree map. Here's an example of a simple tree map visualization that can be useful. Hint 2: Tree maps usually do not display negative values. One simple way to handle it is to use an absolute value.

Author: Thor Landstrom

URL: api_Dataset https://api.coincap.io/v2/assets

Node 1Node 2Node 4Node 6Node 7Node 8all Data by changePercent24HrNode 10all Data by changePercent24Hrall Data by changePercent24HrNode 13all Data by changePercent24HrNode 15Node 16GET Request XPath JSON to XML String to Number Math Formula Rank GenericECharts View Row Filter GenericECharts View GenericECharts View Row Filter GenericECharts View JSON Path Ungroup Node 1Node 2Node 4Node 6Node 7Node 8all Data by changePercent24HrNode 10all Data by changePercent24Hrall Data by changePercent24HrNode 13all Data by changePercent24HrNode 15Node 16GET Request XPath JSON to XML String to Number Math Formula Rank GenericECharts View Row Filter GenericECharts View GenericECharts View Row Filter GenericECharts View JSON Path Ungroup

Nodes

Extensions

Links