Table:
|  | 2019 | 2018 | 2017 |
| --- | --- | --- | --- |
|  |  | (in thousands) |  |
| Revenues from customers (1): |  |  |  |
| China | $514,327 | $348,942 | $260,451 |
| Taiwan | 485,681 | 516,322 | 687,031 |
| United States | 333,059 | 282,869 | 252,516 |
| Korea | 239,504 | 163,224 | 206,819 |
| Europe | 219,015 | 223,207 | 163,715 |
| Japan | 175,322 | 158,281 | 169,093 |
| Thailand | 87,503 | 59,184 | 29,566 |
| Singapore | 84,111 | 108,618 | 101,085 |
| Malaysia | 58,200 | 122,797 | 124,048 |
| Philippines | 54,560 | 77,996 | 105,850 |
| Rest of the World | 43,683 | 39,362 | 36,432 |
|  | $2,294,965 | $2,100,802 | $2,136,606 |
Paragraphs:
Information as to Teradyne’s revenues by country is as follows:
(1) Revenues attributable to a country are based on location of customer site.
In 2019 and 2018, no single direct customer accounted for more than 10% of Teradyne’s consolidated revenues. In 2017, revenues from Taiwan Semiconductor Manufacturing Company Ltd. accounted for 13% of its consolidated revenues. Taiwan Semiconductor Manufacturing Company Ltd. is a customer of Teradyne’s Semiconductor Test segment. Teradyne estimates consolidated revenues driven by Huawei Technologies Co.Ltd. (“Huawei”), combining direct sales to that customer with sales to the customer’s OSATs, accounted for approximately 11% and 4% of its consolidated revenues in 2019 and 2018, respectively. Teradyne estimates consolidated revenues driven by another OEM customer, combining direct sales to that customer with sales to the customer’s OSATs (which include Taiwan Semiconductor Manufacturing Company Ltd.), accounted for approximately 10%, 13% and 22% of its consolidated revenues in 2019, 2018 and 2017, respectively.
Question:
What are the revenues from customers attributable to a country based on?
Answer: location of customer site